Print Page | Close Window

Width of Popup/Floating menu

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9205
Printed Date: 08 October 2024 at 10:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Width of Popup/Floating menu
Posted By: VDF1
Subject: Width of Popup/Floating menu
Date Posted: 01 January 2008 at 1:22pm
Hi,
 
How do I control the width of a floating / popup menu? As you can see in https://forum.codejock.com/uploads/20080101_131511_Width_of_Contex.zip - 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 https://forum.codejock.com/uploads/20080101_132108_custom_control.zip - 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



Replies:
Posted By: Oleg
Date Posted: 02 January 2008 at 3:13am
Hello,
Width property includes Caption also.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: VDF1
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net