From: Kevin on
Chris,

That's what was weird. In the app where I came across the problem and in
a test app I was trying to find a way around the problem, the controls
in the resource file were in the correct order but were not working that
way.

During my investigating I found they were in the correct order in the
resource but not the vnfrm file. I found a way around the problem. The
order in the vnfrm file matched the order in the Control Creation order
window.

I was actually just about to post my findings, including a slightly
messy work-around when I saw your post. I had looked for that option but
couldn't see it, much easier than what I came up with.

Thanks.

Kevin


"Chris Pyrgas" <chris(a)grafxsoft.dot.com> wrote in message
news:i2khus$5oq$1(a)mouse.otenet.gr:

> Hi Kevin,
>
> > I think I know what you mean about the ':Add()' and if I understand
> > correctly what you mean, it would work in say a C# app. The VO DataWindow
> > designer in VS works in a similar way to the VO one. I did think of
> > swapping the lines around in the Editor but had a feeling it probably
> > wouldn't work. Changing the resource file might. If I try that
>
> Yes, the Tab Order of controls in VO windows depends on the order they
> appear in the resource. You can adjust this order visually, same as in VO,
> by selecting View|Tab Order, or by clicking on the last button in the VO
> Window Editor toolbar.
>
> regards,
> Chris
>
>
>
> > I'll do it on a test app first.
> >
> > I had a look at help file but couldn't find anything in it of use in this
> > situation. I had noticed about the Shift + F1 not working the same way as
> > in VO. If I find a way of doing it before anyone posts a method I'll
> > update this thread.
> >
> > Thanks anyway.
> >
> > Kevin
> >
> >
> > "Karl Faller" <k.faller_withoutthat_(a)onlinehome.de> wrote in message
> > news:rder46t63q6p7h3k77b1el017c89sdlae1(a)4ax.com:
> >
> >> Kevin,
> >> being not VS savy, but: i thought the layout "direction" is like the
> >> ":Add() calls in the forms initialize, but had a look into some sample
> >> code, and rearranged the lines, but no effect. Further, the controls
> >> have a context menu "bring to front / back" - but this seems to be
> >> also not what you want.
> >> BTW, looking for this i found that a Shift F1 on a Method call won't
> >> do anything useful, e.g. open the corresponding help entry - <duh> -
> >> i think i'll stay with Vide ;-)
> >>
> >> Sorry to be no more help
> >> Karl
> >>
> >> >To be a bit more specific. This is a Vulcan 161 app.
> >> >
> >> >I have laid out a DataWindow as follows:
> >> >
> >> >Ft Date - dtpPurchaseDate (DateTimePicker)
> >> >Ft Station - sleStation (SingleLineEdit)
> >> >Ft Litres - sleLitres SingleLineEdit)
> >> >Ft Price - slePrice (SingleLineEdit) | Ft sleCost SingleLineEdit) (Read
> >> >only and non-tab stop)
> >> >Ft Type - cbFuelType (ComboBox) (Drop Down List)
> >> >Ft Notes - sleNotes (SingleLineEdit)
> >> >
> >> >The Ft stands for FixedText which exists before each control.
> >> >
> >> >This is the same order as in a VO app and the order is as expected -
> >> >that is from top to bottom. However, in the Vulcan app, when the window
> >> >opens the tab order is as follows:
> >> > sleStation
> >> > dtpPurchaseDate
> >> > sleNotes
> >> > cbFuelType
> >> > slePrice
> >> > sleLitres
> >> >
> >> >How do I get the controls to work in the correct order? It would be
> >> >understandable if they were working in rverse order to the way they were
> >> >laid out, but they're not.
> >> >
> >> >Any ideas?
> >> >
> >> >Thanks in advance.
> >> >
> >> >Kevin
> >> >
> >> >"Kevin" <kdmurphy(a)eircom.net> wrote in message
> >> >news:PHf3o.285$K4.145(a)news.indigo.ie:
> >> >
> >> >> Is there any way to change the order of the controls on a VO
> >> >> DataWindow
> >> >> without having to redo the window when using Visual Studio 2008?
> >> >>
> >> >> Thanks in advance.
> >> >>
> >> >> Kevin
> >

From: Geoff Schaller on
Kevin.

This is obviously Vulcan. In C# you press the control order key sequence
and sequence number appears in a little box beside each control. Far
more flexible than the old VO way. Far more visible too. But in Vulcan I
suspect the control order will be specified in the resource so you must
manually edit the resource sequence.

Geoff



"Kevin" <kdmurphy(a)eircom.net> wrote in message
news:Lpg3o.286$K4.55(a)news.indigo.ie:

> To be a bit more specific. This is a Vulcan 161 app.
>
> I have laid out a DataWindow as follows:
>
> Ft Date - dtpPurchaseDate (DateTimePicker)
> Ft Station - sleStation (SingleLineEdit)
> Ft Litres - sleLitres SingleLineEdit)
> Ft Price - slePrice (SingleLineEdit) | Ft sleCost SingleLineEdit) (Read
> only and non-tab stop)
> Ft Type - cbFuelType (ComboBox) (Drop Down List)
> Ft Notes - sleNotes (SingleLineEdit)
>
> The Ft stands for FixedText which exists before each control.
>
> This is the same order as in a VO app and the order is as expected -
> that is from top to bottom. However, in the Vulcan app, when the window
> opens the tab order is as follows:
> sleStation
> dtpPurchaseDate
> sleNotes
> cbFuelType
> slePrice
> sleLitres
>
> How do I get the controls to work in the correct order? It would be
> understandable if they were working in rverse order to the way they were
> laid out, but they're not.
>
> Any ideas?
>
> Thanks in advance.
>
> Kevin
>
> "Kevin" <kdmurphy(a)eircom.net> wrote in message
> news:PHf3o.285$K4.145(a)news.indigo.ie:
>
>
> > Is there any way to change the order of the controls on a VO DataWindow
> > without having to redo the window when using Visual Studio 2008?
> >
> > Thanks in advance.
> >
> > Kevin

From: Kevin on
Geoff,

I had actually found that it was not the resource that needed to be
edited but the vnfrm file (using an external editor) - an XML file.
After that another control had to be added to force the change to take
effect.

Chris pointed out where the find the equivalent option to that in VO. So
it wasn't Vulcan it was me not seeing an option for what it was. I have
seen the option you are referring to in C# and used it a bit.

Thanks.

Kevin


"Geoff Schaller" <geoffx(a)softwarexobjectives.com.au> wrote in message
news:4c4e9679$0$12392$c30e37c6(a)exi-reader.telstra.net:

> Kevin.
>
> This is obviously Vulcan. In C# you press the control order key sequence
> and sequence number appears in a little box beside each control. Far
> more flexible than the old VO way. Far more visible too. But in Vulcan I
> suspect the control order will be specified in the resource so you must
> manually edit the resource sequence.
>
> Geoff
>
>
>
> "Kevin" <kdmurphy(a)eircom.net> wrote in message
> news:Lpg3o.286$K4.55(a)news.indigo.ie:
>
> > To be a bit more specific. This is a Vulcan 161 app.
> >
> > I have laid out a DataWindow as follows:
> >
> > Ft Date - dtpPurchaseDate (DateTimePicker)
> > Ft Station - sleStation (SingleLineEdit)
> > Ft Litres - sleLitres SingleLineEdit)
> > Ft Price - slePrice (SingleLineEdit) | Ft sleCost SingleLineEdit) (Read
> > only and non-tab stop)
> > Ft Type - cbFuelType (ComboBox) (Drop Down List)
> > Ft Notes - sleNotes (SingleLineEdit)
> >
> > The Ft stands for FixedText which exists before each control.
> >
> > This is the same order as in a VO app and the order is as expected -
> > that is from top to bottom. However, in the Vulcan app, when the window
> > opens the tab order is as follows:
> > sleStation
> > dtpPurchaseDate
> > sleNotes
> > cbFuelType
> > slePrice
> > sleLitres
> >
> > How do I get the controls to work in the correct order? It would be
> > understandable if they were working in rverse order to the way they were
> > laid out, but they're not.
> >
> > Any ideas?
> >
> > Thanks in advance.
> >
> > Kevin
> >
> > "Kevin" <kdmurphy(a)eircom.net> wrote in message
> > news:PHf3o.285$K4.145(a)news.indigo.ie:
> >
> >
> > > Is there any way to change the order of the controls on a VO DataWindow
> > > without having to redo the window when using Visual Studio 2008?
> > >
> > > Thanks in advance.
> > >
> > > Kevin