Results 1 to 2 of 2

Thread: Is there a smooth draggable item list in RC6 widgets?

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    761

    Is there a smooth draggable item list in RC6 widgets?

    Hello!

    I need to implement a list where items can be dragged around smoothly as seen in this video:

    https://www.youtube.com/watch?v=x6g_p61cZ9E

    I have a "not smooth" list already, and I need to have something better.

    Before I re-invent the wheel, I would like to ask if somebody has found such a tool in the RC6 vbWidgets.
    I am not familiar with them and have so only only used the cwSimpleButton (class) directly instead of using the compiled components of RC6 vbWidgets.

    Thank you very much!

    As I am afraid I have to do it myself, I started doing such a project, and I just saw that when I use cwSimpleButton on a usercontrol panel, it works fine.
    However, the panel does not repaint, I guess, it is black, when I use cwButton instead.
    I have attached a sample project. Please set the compiler option to "USECLASS = 1" to see how the behaviour is resolved by using the cwSimpleButton instead.

    I am sorry about the many questions.

    Am I right to assume that a cWidgetForm is a Cairo Surface, and the widgets that it can host are cairo surfaces as well? I guess once I think more about it, the black background would be logical to me. ;-)

    Edit: Sorry, I saw that Olaf already told me to use cWidgetForm instead of ucPanel:
    https://www.vbforums.com/showthread....dgets-Tutorial
    Attached Files Attached Files
    Last edited by tmighty2; Nov 27th, 2024 at 09:45 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width