G grafsoft Well-Known Member Licensed User Longtime User Jan 11, 2015 #1 Hi, I want to change the position of the pickers, but I do not find any clue. Must be blind somehow ...
Hi, I want to change the position of the pickers, but I do not find any clue. Must be blind somehow ...
DonManfred Expert Licensed User Longtime User Jan 11, 2015 #2 Hä? WHAT? You should describe more clearly what exactly you refering to (giving links, uploading a sample project) I did NOT understand what you mean. What is cl_dgpickers? Upvote 0
Hä? WHAT? You should describe more clearly what exactly you refering to (giving links, uploading a sample project) I did NOT understand what you mean. What is cl_dgpickers?
G grafsoft Well-Known Member Licensed User Longtime User Jan 11, 2015 #3 Sorry ... library dgpickers, version 0.20. The object has no left and top properties. Upvote 0
udg Expert Licensed User Longtime User Jan 11, 2015 #4 Hi grafsoft, the picker panel should be attached to a view (ex. a label, a small panel..) and then instructed about the direction toward expand itself. Possible directions are (extracted by library code): Spoiler: Directions definition Dim pck_DIR_BOTTOM = 0 As Byte Dim pck_DIR_TOP = 1 As Byte Dim pck_DIR_RIGHT = 2 As Byte Dim pck_DIR_LEFT = 3 As Byte Here it is an example on how to expand it on the left of a given label Code: dgpicker.setAnchorView(lbl, dgpicker.pck_DIR_LEFT) 'anchor picker to desidered view You may want to experiment with the sample code provided along with the library, changing parameters to see the resulting effect. For a real-word usage of the library, check the configuration section of my mini-game 15Tiles. Let me know if you need further assistance and thank you for your interest in my lib. udg Upvote 0
Hi grafsoft, the picker panel should be attached to a view (ex. a label, a small panel..) and then instructed about the direction toward expand itself. Possible directions are (extracted by library code): Spoiler: Directions definition Dim pck_DIR_BOTTOM = 0 As Byte Dim pck_DIR_TOP = 1 As Byte Dim pck_DIR_RIGHT = 2 As Byte Dim pck_DIR_LEFT = 3 As Byte Here it is an example on how to expand it on the left of a given label Code: dgpicker.setAnchorView(lbl, dgpicker.pck_DIR_LEFT) 'anchor picker to desidered view You may want to experiment with the sample code provided along with the library, changing parameters to see the resulting effect. For a real-word usage of the library, check the configuration section of my mini-game 15Tiles. Let me know if you need further assistance and thank you for your interest in my lib. udg
G grafsoft Well-Known Member Licensed User Longtime User Jan 11, 2015 #5 Thank you! I forgot that I had put it on an invisible panel, like your code suggested. Upvote 0