From: Geoff Schaller on
Right.

The vertical movement is easy because it is the same for all controls.
The group boxes and browsers are easy: they are totally proportional.

I guess what you are worrying about are the buttons which you want to
move proportionally with the width but NOT with one another in their
little groups. I am not sure why this is a worry but if you want that
micro detail (because how many endless variations of this are there...)
you are going to have to write it yourself.

No big deal. You have all the source code - just an additional define
and write the 10-20 lines of code required.

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/

From: Philippe Mermod on
The vertical movement is not the same as the listview is growing
but not the buttons and the groupbox has to keep the same
spacing between the buttons, the listview and the groupbox
itself. If you make them totally proportional for the size
except for the buttons, the space between each control is also
proportional : it's not my objective.

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


Geoff Schaller wrote:

> Right.
>
> The vertical movement is easy because it is the same for all
> controls. The group boxes and browsers are easy: they are
> totally proportional.
>
> I guess what you are worrying about are the buttons which you
> want to move proportionally with the width but NOT with one
> another in their little groups. I am not sure why this is a
> worry but if you want that micro detail (because how many
> endless variations of this are there...) you are going to have
> to write it yourself.
>
> No big deal. You have all the source code - just an additional
> define and write the 10-20 lines of code required.
>
> 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/
From: Philippe Mermod on
Really ?! Can you send or post a sample ?

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


Geoff Schaller wrote:

> 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/
From: Geoff Schaller on
So I am right. It is only the horizontal position of the buttons that is
phasing you.
Ok, there are two solutions:

1. Build the window in C#. This is trivial.

2. Write the additional style code as I advised earlier <g>.


Geoff



"Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message
news:7tf99bF2oeU1(a)mid.individual.net:

> The vertical movement is not the same as the listview is growing
> but not the buttons and the groupbox has to keep the same
> spacing between the buttons, the listview and the groupbox
> itself. If you make them totally proportional for the size
> except for the buttons, the space between each control is also
> proportional : it's not my objective.
>
> --
> Phil Mermod
> Crystal Reports Library for Visual Objects
> http://www.pkl.ch/dev/

From: Philippe Mermod on
Hi Sebasti�n,

With the PTR, it's not running at all under VO 2.8 then if you
remove the PTR adn keep only the value, it's flickering during
the runtime and it's proportional also for the buttons.

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