Print Page | Close Window

Rsize a custom controle in a toolbar

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=12083
Printed Date: 03 November 2024 at 8:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Rsize a custom controle in a toolbar
Posted By: AdamSharp
Subject: Rsize a custom controle in a toolbar
Date Posted: 05 September 2008 at 5:52am
Hello,
I can't resize à custom controle (Text1.Width = Me.Width - Text1.Left) when i resize the form, I added it in my toolbar of the commandbar



Replies:
Posted By: Oleg
Date Posted: 08 September 2008 at 3:36am
Hi,
Resize Width of this button instead: CustomControlButton.Width = xxx


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


Posted By: adwild2
Date Posted: 09 February 2009 at 6:21am
I have added a listview in a ribbonbar. This works alright but can't get it resized. Resizing the custom control item or the listview control frame doesn't work.

-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP SP3 (32bit)
Language: Progress OpenEdge 10.2A


Posted By: adwild2
Date Posted: 16 February 2009 at 5:22am
I managed to get the listview to resize correctly.
 
On window resize i execute this code (Progress OpenEdge) where ip_Width is the new width :

DEFINE VARIABLE  ch_Help   AS COM-HANDLE  NO-UNDO.
ASSIGN ch_Help                = ocx_ListView:COM-HANDLE
       ch_Help:Width          = ip_Width
       ch_RibbonList:HANDLE   = ocx_ListView:HWND
       NO-ERROR.


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP SP3 (32bit)
Language: Progress OpenEdge 10.2A



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