Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Width of Popup/Floating menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Width of Popup/Floating menu

 Post Reply Post Reply
Author
Message
VDF1 View Drop Down
Groupie
Groupie
Avatar

Joined: 28 November 2007
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote VDF1 Quote  Post ReplyReply Direct Link To This Post Topic: Width of Popup/Floating menu
    Posted: 01 January 2008 at 1:22pm
Hi,
 
How do I control the width of a floating / popup menu? As you can see in uploads/20080101_131511_Width_of_Contex.zip I have a floating menu but when the size of the caption text increases the space for the control (edit/combo) will be smaller and smaller. I tried to set the Width property of the object but it seems to be ignored.
 
I also tried to create an item of the controltype = xtpControlCustom and the size of the windows control attached via the handle property is made the same as the complete width of the floating menu, including the bar at the left hand side. See uploads/20080101_132108_custom_control.zip. How can I avoid that? As alternative, any chance for a up/down control type for the commandbar items?
 
 
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 January 2008 at 3:13am
Hello,
Width property includes Caption also.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
VDF1 View Drop Down
Groupie
Groupie
Avatar

Joined: 28 November 2007
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote VDF1 Quote  Post ReplyReply Direct Link To This Post Posted: 02 January 2008 at 3:29am
Dear Oleg,
 
I think you say that the width is automatically set when one sets the caption property but as you can see in the pictures that I uploaded the size is not really what one wants to see/have when next to a text a control is shown.
 
And how do I control the width of a custom control in the menu (pict 2)?
 
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.