Prev: Windows version
Next: ChildAppWindow in WED
From: Geoff Schaller on 9 Feb 2010 16:15 Philippe. Not sure I understand your problem. What is wrong with proportional positioning and sizing as per the options in the WED?? Geoff PS - the second 'repaired' link still doesn't work properly. "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message news:7td6u6FdheU1(a)mid.individual.net: > Hi VO'ers, > > Is someone know how to adjust the properties of the controls (in > the WED) to match the following behavior when resizing the > window : > > Original size of the window : > http://www.pkl.ch/dev/screenshots/resize.png > > Resized window : http://www.pkl.ch/dev/screenshots/resize.png > > I need exactly this layout with 4 groupboxes : in each one a > listview and the 3 buttons > > If you have a solution, please send me a sample by email. > > I know I can do it manually but I have a lot of windows with > different layout but with the same problem and I need to adjust > all of the them. > > Thanks, > > -- > Phil Mermod > Crystal Reports Library for Visual Objects > http://www.pkl.ch/dev/
From: Philippe Mermod on 9 Feb 2010 17:21 Hi Geoff, The 2nd link is working : it's a PNG file (You need a browser which can read this) When you can watch it, you will understand my problem. The proportional positioning cannot be used to keep some buttons together (same spacing between each other) and move in the same time regarding the size of the owner when you have 4 groups (1 groubox including 1 listview and 3 buttons). -- Phil Mermod Crystal Reports Library for Visual Objects http://www.pkl.ch/dev/ Geoff Schaller wrote: > Philippe. > > Not sure I understand your problem. What is wrong with > proportional positioning and sizing as per the options in the > WED?? > > Geoff > > PS - the second 'repaired' link still doesn't work properly. > > "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message > news:7td6u6FdheU1(a)mid.individual.net: > > > Hi VO'ers, > > > > Is someone know how to adjust the properties of the controls > > (in the WED) to match the following behavior when resizing > > the window : > > > > Original size of the window : > > http://www.pkl.ch/dev/screenshots/resize.png > > > > Resized window : http://www.pkl.ch/dev/screenshots/resize.png > > > > I need exactly this layout with 4 groupboxes : in each one a > > listview and the 3 buttons > > > > If you have a solution, please send me a sample by email. > > > > I know I can do it manually but I have a lot of windows with > > different layout but with the same problem and I need to > > adjust all of the them. > > > > Thanks, > > > > -- > > Phil Mermod > > Crystal Reports Library for Visual Objects > > http://www.pkl.ch/dev/
From: Philippe Mermod on 9 Feb 2010 17:21 Thanks ! I will take a look at this. -- Phil Mermod Crystal Reports Library for Visual Objects http://www.pkl.ch/dev/ wolverine wrote: > Sorry, there is a typo in the PostInit method should be say > DebugWindow and not DebugWindow5. > > Sebasti�n > > On 9 feb, 16:36, wolverine <wolverine4...(a)hotmail.com> wrote: > > With a window like this: > > > > GroupBox1 � � � � � � � � � � � � � � � GroupBox2 > > DataListView1 � � � � � � � � � � � � � DataListView2 > > PushButton11 PushButton12 PushButton13 �PushButton21 > > PushButton22 PushButton23 > > > > GroupBox3 � � � � � � � � � � � � � � � GroupBox4 > > DataListView3 � � � � � � � � � � � � � DataListView4 > > PushButton31 PushButton32 PushButton33 �PushButton41 > > PushButton42 PushButton43 > > > > You can code: > > > > CLASS DebugWindow INHERIT DataWindow > > > > � � � � PROTECT oDCGroupBox1 AS GROUPBOX > > � � � � PROTECT oDCDataListView1 AS DATALISTVIEW > > � � � � PROTECT oCCPushButton11 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton12 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton13 AS PUSHBUTTON > > > > � � � � PROTECT oDCGroupBox2 AS GROUPBOX > > � � � � PROTECT oDCDataListView2 AS DATALISTVIEW > > � � � � PROTECT oCCPushButton21 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton22 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton23 AS PUSHBUTTON > > > > � � � � PROTECT oDCGroupBox3 AS GROUPBOX > > � � � � PROTECT oDCDataListView3 AS DATALISTVIEW > > � � � � PROTECT oCCPushButton31 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton32 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton33 AS PUSHBUTTON > > > > � � � � PROTECT oDCGroupBox4 AS GROUPBOX > > � � � � PROTECT oDCDataListView4 AS DATALISTVIEW > > � � � � PROTECT oCCPushButton41 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton42 AS PUSHBUTTON > > � � � � PROTECT oCCPushButton43 AS PUSHBUTTON > > > > METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS > > DebugWindow5 > > > > � � � � SELF:oDCGroupBox1:OwnerAlignment:= PTR(_CAST, > > 0x12120000) � � � � SELF:oDCDataListView1:OwnerAlignment:= > > PTR(_CAST, 0x12120000) � � � � > > SELF:oCCPushButton11:OwnerAlignment:= PTR(_CAST, 0x00001200) > > � � � � SELF:oCCPushButton12:OwnerAlignment:= PTR(_CAST, > > 0x00001200) � � � � SELF:oCCPushButton13:OwnerAlignment:= > > PTR(_CAST, 0x00001200) > > > > � � � � SELF:oDCGroupBox2:OwnerAlignment:= PTR(_CAST, > > 0x12120012) � � � � SELF:oDCDataListView2:OwnerAlignment:= > > PTR(_CAST, 0x12120012) � � � � > > SELF:oCCPushButton21:OwnerAlignment:= PTR(_CAST, 0x00001212) > > � � � � SELF:oCCPushButton22:OwnerAlignment:= PTR(_CAST, > > 0x00001212) � � � � SELF:oCCPushButton23:OwnerAlignment:= > > PTR(_CAST, 0x00001212) > > > > � � � � SELF:oDCGroupBox3:OwnerAlignment:= PTR(_CAST, > > 0x12121200) � � � � SELF:oDCDataListView3:OwnerAlignment:= > > PTR(_CAST, 0x12121200) � � � � > > SELF:oCCPushButton31:OwnerAlignment:= PTR(_CAST, 0x00001100) > > � � � � SELF:oCCPushButton32:OwnerAlignment:= PTR(_CAST, > > 0x00001100) � � � � SELF:oCCPushButton33:OwnerAlignment:= > > PTR(_CAST, 0x00001100) > > > > � � � � SELF:oDCGroupBox4:OwnerAlignment:= PTR(_CAST, > > 0x12121212) � � � � SELF:oDCDataListView4:OwnerAlignment:= > > PTR(_CAST, 0x12121212) � � � � > > SELF:oCCPushButton41:OwnerAlignment:= PTR(_CAST, 0x00001112) > > � � � � SELF:oCCPushButton42:OwnerAlignment:= PTR(_CAST, > > 0x00001112) � � � � SELF:oCCPushButton43:OwnerAlignment:= > > PTR(_CAST, 0x00001112) > > > > � � � � RETURN NIL > > > > I hope that this helps you. > > Regards. > > > > Sebasti�n > > > > On 9 feb, 12:12, szepligeti ferenc <szeplig...(a)gmail.com> > > wrote: > > > > > ?http://hoverbutton.webpark.pl/download.html > > > Resize > > > > > Szepligeti > > > > > On febr. 9, 15:19, "Philippe Mermod" > > > <pmer...(a)REMOVEpkl.ch> wrote: > > > > > > Typo : 2nd link > > > > ishttp://www.pkl.ch/dev/screenshots/resize_result.png > > > > > > -- > > > > Phil Mermod > > > > Crystal Reports Library for Visual > > > > Objectshttp://www.pkl.ch/dev/ > > > > > > Philippe Mermod wrote: > > > > > Hi VO'ers, > > > > > > > Is someone know how to adjust the properties of the > > > > > controls (in the WED) to match the following behavior > > > > > when resizing the window : > > > > > > > Original size of the window �: > > > > > http://www.pkl.ch/dev/screenshots/resize.png > > > > > > > Resized window > > > > > :http://www.pkl.ch/dev/screenshots/resize.png > > > > > > > I need exactly this layout with 4 groupboxes : in each > > > > > one a listview and the 3 buttons > > > > > > > If you have a solution, please send me a sample by > > > > > email. > > > > > > > I know I can do it manually but I have a lot of > > > > > windows with different layout but with the same > > > > > problem and �I need to adjust all of the them. > > > > > > > Thanks, > > > >
From: Philippe Mermod on 9 Feb 2010 17:22 I will check this. Thanks ! -- Phil Mermod Crystal Reports Library for Visual Objects http://www.pkl.ch/dev/ szepligeti ferenc wrote: > ? > http://hoverbutton.webpark.pl/download.html > Resize > > Szepligeti > > > > On febr. 9, 15:19, "Philippe Mermod" <pmer...(a)REMOVEpkl.ch> > wrote: > > Typo : 2nd link > > ishttp://www.pkl.ch/dev/screenshots/resize_result.png > > > > -- > > Phil Mermod > > Crystal Reports Library for Visual > > Objectshttp://www.pkl.ch/dev/ > > > > Philippe Mermod wrote: > > > Hi VO'ers, > > > > > Is someone know how to adjust the properties of the > > > controls (in the WED) to match the following behavior when > > > resizing the window : > > > > > Original size of the window �: > > > http://www.pkl.ch/dev/screenshots/resize.png > > > > > Resized window > > > :http://www.pkl.ch/dev/screenshots/resize.png > > > > > I need exactly this layout with 4 groupboxes : in each one > > > a listview and the 3 buttons > > > > > If you have a solution, please send me a sample by email. > > > > > I know I can do it manually but I have a lot of windows > > > with different layout but with the same problem and �I > > > need to adjust all of the them. > > > > > Thanks, > > > >
From: Geoff Schaller on 9 Feb 2010 17:57
The image works now. However I still don't see your problem. The standard defines would seem enough to achieve this. Geoff "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message news:7te5ejF3teU1(a)mid.individual.net: > Hi Geoff, > > The 2nd link is working : it's a PNG file (You need a browser > which can read this) > > When you can watch it, you will understand my problem. > > The proportional positioning cannot be used to keep some buttons > together (same spacing between each other) and move in the same > time regarding the size of the owner when you have 4 groups (1 > groubox including 1 listview and 3 buttons). > > -- > Phil Mermod > Crystal Reports Library for Visual Objects > http://www.pkl.ch/dev/ > > > Geoff Schaller wrote: > > > > Philippe. > > > > Not sure I understand your problem. What is wrong with > > proportional positioning and sizing as per the options in the > > WED?? > > > > Geoff > > > > PS - the second 'repaired' link still doesn't work properly. > > > > "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message > > news:7td6u6FdheU1(a)mid.individual.net: > > > > > > Hi VO'ers, > > > > > > Is someone know how to adjust the properties of the controls > > > (in the WED) to match the following behavior when resizing > > > the window : > > > > > > Original size of the window : > > > http://www.pkl.ch/dev/screenshots/resize.png > > > > > > Resized window : http://www.pkl.ch/dev/screenshots/resize.png > > > > > > I need exactly this layout with 4 groupboxes : in each one a > > > listview and the 3 buttons > > > > > > If you have a solution, please send me a sample by email. > > > > > > I know I can do it manually but I have a lot of windows with > > > different layout but with the same problem and I need to > > > adjust all of the them. > > > > > > Thanks, > > > > > > -- > > > Phil Mermod > > > Crystal Reports Library for Visual Objects > > > http://www.pkl.ch/dev/ |