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
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