Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Rsize a custom controle in a toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Rsize a custom controle in a toolbar

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

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Topic: Rsize a custom controle in a toolbar
    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
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: 08 September 2008 at 3:36am
Hi,
Resize Width of this button instead: CustomControlButton.Width = xxx
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
adwild2 View Drop Down
Groupie
Groupie
Avatar

Joined: 17 December 2008
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote adwild2 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
adwild2 View Drop Down
Groupie
Groupie
Avatar

Joined: 17 December 2008
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote adwild2 Quote  Post ReplyReply Direct Link To This Post 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
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.188 seconds.