From: Philippe Mermod on
Hi Sebasti�n and Alessandro,

Thanks for your samples ! It's working great !

Just need now to move to SP3 :-(

--
Phil Mermod
Crystal Reports Library for Visual Objects
http://www.pkl.ch/dev/


wolverine 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,
> >
> >
First  |  Prev  | 
Pages: 1 2 3 4 5 6 7 8
Prev: Windows version
Next: ChildAppWindow in WED