Caption is overlapping with icons |
Post Reply |
Author | |
Ahis
Newbie Joined: 30 September 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 30 September 2008 at 9:15am |
Hello all!
My problem is as follows: we want to update our application with newer command bars and therefore i implemented a prototype in Progress (pretty different handling of OCX there). I am limited in available space due to our current application, (the height is fixed), also imagesizes used for the buttons are fixed at 16 x 16. When i use a commandbar with the seticonsize(16,16) command the captions start to overlap with the icons ---> can i re-locate the captions to the very bottom of the controls? Help would be much appreciated, i've looked through alot but didnt find anything appropriate yet. For a screenshot of the behaviour please check http://80.80.244.49/download/codejock/codejock.zip The Pic is Overlapping_Caption.JPG. Best Regards, Ahis |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Can't download images this file. :( Please attach it here.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Ahis
Newbie Joined: 30 September 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Sorry. i overlooked the image function Thanks again! |
|
Ahis
Newbie Joined: 30 September 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Noone that has any idea on that topic?
I tried shuffling alot of options but always end with this problem due to the limited space to integrate the bar. Am i overlooking an option to reposition the caption? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Show all related code. What icon size you set. what button size, what button style. etc.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Ahis
Newbie Joined: 30 September 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
These are the relevant code parts i use, please mind that progress ocx handling is a little different from vba:
General Bar settings: /* Reset the command bar */ gchCommandBar:CommandBars:DeleteAll(). /* Create the necessary buttonbar on the commandbar */ chButtonBar = gchCommandBar:CommandBars:ADD("ButtonBar", 0). ASSIGN chButtonBar:VISIBLE = FALSE chButtonBar:Closeable = FALSE chButtonBar:ContextMenuPresent = FALSE chButtonBar:Customizable = FALSE chButtonBar:ShowExpandButton = FALSE chButtonBar:ShowGripper = FALSE chButtonBar:EnableAnimation = FALSE. chButtonBar:EnableDocking(64). chButtonBar:seticonsize(16,16). Settings for a button: gchCommandBar:CommandBars:Icons:LoadIcon(ipcIcon, iIconID, 0). chButton = chButtonBar:Controls:ADD(1, 1, ""). ASSIGN chButton:IconID = iIconID chButton:VISIBLE = FALSE chButton:ToolTipText = cTooltip chButton:DescriptionText = cTooltip chButton:WIDTH = 20 chButton:HEIGHT = 55 chButton:Style = 4. Thanks. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |