From: Geoff Schaller on
This is actually not such a bad idea (hide the pane dividers and fix the
ratio)

The downside is a little more message handling between the panes I
suspect but it will give the outcome desired.

Personally I think these guys need to get off their bums and "fix" the
__AlignControls method and be done with it!

Geoff




"Stefan" <info(a)sanosoft.com> wrote in message
news:d6dc0992-ed7c-4f37-980e-66c6a7e8f502(a)z19g2000yqk.googlegroups.com:

> Hi Phil,
>
> what's about a SplitWindow with 4 panes?
>
> Stefan

From: Philippe Mermod on
Below the method from Alessandro :

METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS WinProva

SELF:oDCGroupBox1:OwnerAlignment:= PTR(_CAST, 0x12130003)
* 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, 0x12130013)
* SELF:oDCDataListView2:OwnerAlignment:= PTR(_CAST, 0x12120012)
SELF:oCCPushButton21:OwnerAlignment:= PTR(_CAST, 0x00001213)
SELF:oCCPushButton22:OwnerAlignment:= PTR(_CAST, 0x00001213)
* 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)

SELF:oDCGroupBox5:OwnerAlignment:= PTR(_CAST, 0x12130023)
SELF:oCCPushButton51:OwnerAlignment:= PTR(_CAST, 0x00001223)
SELF:oCCPushButton52:OwnerAlignment:= PTR(_CAST, 0x00001223)

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


Geoff Schaller wrote:

> Show us the line of code please.
> This should be trivial
>
> (Or you have dll hell)
>
>
>
> "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message
> news:7tfrjmF7esU1(a)mid.individual.net:
>
> > Hi Alessandro,
> >
> > I have the following error when executing your sample under
> > VO 2822 (With Vista Sp2 - x86) :
> >
> > http://www.pkl.ch/dev/screenshots/alessandro.png
> >
> > Somebody has seen this before ?
> >
> > --
> > Phil Mermod
> > Crystal Reports Library for Visual Objects
> > http://www.pkl.ch/dev/
> >
> >
> > Alessandro Antonangeli wrote:
> >
> >
> >> Il Wed, 10 Feb 2010 13:09:19 +0000, Philippe Mermod ha
> scritto:
> > >
> >
> >> > Hi Alessandro,
> >> >
> >> > Can you send me your sample by email ?
> >> >
> >> > Thanks,
> > >
> >
> >> I sent
> > >
> >> Anyway nothing different from what Sebasti�n posted.
> > >
> >> The sample is with 5 groups of element (3 upper and 2
> lower), >> I was just plaiyng to see how it works.
From: Alessandro Antonangeli on

> The downside is a little more message handling between the panes I
> suspect but it will give the outcome desired.
>
> Personally I think these guys need to get off their bums and "fix" the
> __AlignControls method and be done with it!
>
> Geoff

Why to complicate your life when there is an easy solution?
__AlignControls just deal with the standard alignment/resizing, that
cannot be full comprehnsive. Arrange it, means to make a lot of
calculation.

Just use OwnerAlignment, the VO way. It's easy and works fine.

About the Phil problem, someone should check to see if is a Vista related
problem or something related to his PC/configuration/other

--
Ciao, Alessandro
From: Geoff Schaller on
Jeepers Phil, this is VO 101:

What is your error? It got a ptr instead of a long
What are you sending? A ptr.

Do you get it? DON'T SEND A PTR - SEND A LONG
Except for the fact that the error is coming from the GUI libs
underneath.
OwnerAlignments takes a usual and it is expected to be a long
Your are typing it to be a ptr but to what?????

<g>

Take a look at SDK (how often do I tell people that). It explains
exactly how to do this. Your defines cannot be pointers, they must be
longs.

You need to created some defines in the same way as VO has and make sure
the binary value matches (and doesn't override) other values. All the
defines and the way they are constructed are. All you need to do as add
a few of your own.

Cheers,

Geoff



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

> Below the method from Alessandro :
>
> METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS WinProva
>
> SELF:oDCGroupBox1:OwnerAlignment:= PTR(_CAST, 0x12130003)
> * 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, 0x12130013)
> * SELF:oDCDataListView2:OwnerAlignment:= PTR(_CAST, 0x12120012)
> SELF:oCCPushButton21:OwnerAlignment:= PTR(_CAST, 0x00001213)
> SELF:oCCPushButton22:OwnerAlignment:= PTR(_CAST, 0x00001213)
> * 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)
>
> SELF:oDCGroupBox5:OwnerAlignment:= PTR(_CAST, 0x12130023)
> SELF:oCCPushButton51:OwnerAlignment:= PTR(_CAST, 0x00001223)
> SELF:oCCPushButton52:OwnerAlignment:= PTR(_CAST, 0x00001223)
>
> RETURN NIL
> --
> Phil Mermod
> Crystal Reports Library for Visual Objects
> http://www.pkl.ch/dev/
>
>
> Geoff Schaller wrote:
>
>
> > Show us the line of code please.
> > This should be trivial
> >
> > (Or you have dll hell)
> >
> >
> >
> > "Philippe Mermod" <pmermod(a)REMOVEpkl.ch> wrote in message
> > news:7tfrjmF7esU1(a)mid.individual.net:
> >
>
> > > Hi Alessandro,
> > >
> > > I have the following error when executing your sample under
> > > VO 2822 (With Vista Sp2 - x86) :
> > >
> > > http://www.pkl.ch/dev/screenshots/alessandro.png
> > >
> > > Somebody has seen this before ?
> > >
> > > --
> > > Phil Mermod
> > > Crystal Reports Library for Visual Objects
> > > http://www.pkl.ch/dev/
> > >
> > >
> > > Alessandro Antonangeli wrote:
> > >
> > >
>
> > >> Il Wed, 10 Feb 2010 13:09:19 +0000, Philippe Mermod ha
>
> > scritto:
>
> > > >
> > >
>
> > >> > Hi Alessandro,
> > >> >
> > >> > Can you send me your sample by email ?
> > >> >
> > >> > Thanks,
> > > >
> > >
>
> > >> I sent
> > > >
> > >> Anyway nothing different from what Sebasti�n posted.
> > > >
> > >> The sample is with 5 groups of element (3 upper and 2
>
> > lower), >> I was just plaiyng to see how it works.

From: Geoff Schaller on
Alessandro, I am agreeing with you but let's face it. VO is finished so
we cannot expect more.

As Phil's problem, it is a certainty it has nothing to with Vista or all
the rest of us would have experienced it too. We did not. I still think
he has dll hell and mixed some older version VO dlls with newer ones.
That will cause this kind of problem or his repo is unstable and needs a
full touch all and reindex.

Geoff




"Alessandro Antonangeli" <alcati.r3m0v3th1s(a)alcati.com> wrote in message
news:hl0m4d$jao$1(a)speranza.aioe.org:

> > The downside is a little more message handling between the panes I
> > suspect but it will give the outcome desired.
> >
> > Personally I think these guys need to get off their bums and "fix" the
> > __AlignControls method and be done with it!
> >
> > Geoff
>
>
> Why to complicate your life when there is an easy solution?
> __AlignControls just deal with the standard alignment/resizing, that
> cannot be full comprehnsive. Arrange it, means to make a lot of
> calculation.
>
> Just use OwnerAlignment, the VO way. It's easy and works fine.
>
> About the Phil problem, someone should check to see if is a Vista related
> problem or something related to his PC/configuration/other
>
> --
> Ciao, Alessandro

First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8
Prev: Windows version
Next: ChildAppWindow in WED