Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 4282

EmedWithin / EmbedWithinPanel issues

$
0
0

The following command (where objctrl is reference to a dynamically created desktopcontainer etc.

OptionsControl.EmbedWithin(objCtrl,10,10)

Will NOT result in the same as

OptionsControl.EmbedWithin(objCtrl)
OptionsControl.Left = 10
OptionsControl.top = 10

The issue was that using the EmbedWithin / EmbedWithinPanel to both embed the object AND place it, was giving me weird ■■■ conclusions, but when I added the .left and .top position lines AFTER, it worked fine.

My custom dropdown control:

Displaying options (which didn’t work unless separating the LEFT / TOP from the embedwithin /embedwithinpanel command)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4282

Trending Articles