Prev: Windows version
Next: ChildAppWindow in WED
From: Philippe Mermod on 9 Feb 2010 08:40 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 09:19 Typo : 2nd link is http://www.pkl.ch/dev/screenshots/resize_result.png -- Phil Mermod Crystal Reports Library for Visual Objects http://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: szepligeti ferenc on 9 Feb 2010 10:12 ? 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: wolverine on 9 Feb 2010 14:36 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: wolverine on 9 Feb 2010 14:39
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, > > |