Re: Cursor in Grid
- From: "Fred Taylor" <ftaylor@xxxxxxxx!REMOVE>
- Date: Tue, 30 Aug 2005 19:10:29 -0700
No, because the grids will ALL refresh when moving to the WAIT WINDOW. So
what you're seeing is probably correct for the way VFP operates.
--
Fred
Microsoft Visual FoxPro MVP
"HerbertDB@GTECH" <spam@xxxxxxxx> wrote in message
news:e6T5T%23crFHA.3836@xxxxxxxxxxxxxxxxxxxxxxx
> Yes, but when i click on the commandbutton, even if there is no command on
> it
>
> or I just loose focus on grid1 with recordsource cursor1, the selected
> cursor
>
> changes to curso6. It always selects the last cursor (Curso6) I created on
> the Init of the
>
> form. When I loose focus on grid1, grid2, grid3,4 & 5 to the command
> button
> it selects Cursor6.
>
> Isnt it right that if the focus is on Grid1 with Cursor1 selected, when i
> set focus to commandbutton
>
> the selected cursor should still be Curso1? It doesnt, it changes to the
> last cursor I created.
>
> "Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in message
> news:eIZt0mcrFHA.2592@xxxxxxxxxxxxxxxxxxxxxxx
>> As a grid refreshes, it automatically changes the work area to its
>> RecordSource.
>>
>> --
>> Fred
>> Microsoft Visual FoxPro MVP
>>
>>
>> "HerbertDB@GTECH" <spam@xxxxxxxx> wrote in message
>> news:OMqvaHcrFHA.3080@xxxxxxxxxxxxxxxxxxxxxxx
>> > But there is no command to change work area, the command is "wait
> window"
>> >
>> > "Anders" <anders.altberg@xxxxxxxxx> wrote in message
>> > news:BF39D881.29AE%anders.altberg@xxxxxxxxxxxx
>> >> FoxPro is functioning as designed. VFP changes in and out of workareas
> as
>> >> needed or as directed by a command or function. There is no problem
>> >> really
>> >> because your program is working exactly as it should.
>> >> If you need to advertise the alias of the RecordSource of a particlar
>> >> grid
>> >> you could put some code in the When event of the grid to update a
> label,
>> >> then empty the label caption in the Valid of the same grid.
>> >> -Anders
>> >>
>> >>
>> >>
>> >> Den 05-08-30 08.35, i artikeln eAYHIsSrFHA.3596@xxxxxxxxxxxxxxxxxxxx,
>> > skrev
>> >> "HerbertDB@GTECH" <spam@xxxxxxxx>:
>> >>
>> >> > Hi,
>> >> >
>> >> > Im using VFP8, Windows 2000
>> >> >
>> >> > I have a form with 6 Grids each with its own recordsource set
>> >> >
>> >> > to a temporary table and each have one record.
>> >> >
>> >> > Grid1 - Cursor1
>> >> > Grid2 - Cursor2
>> >> > Grid3 - Cursor3
>> >> > Grid4 - Cursor4 and so on
>> >> >
>> >> > I have a command button with a command "Wait Window Alias()"
>> >> >
>> >> > I select Grid1 and Click commandbutton I get Cursor6
>> >> > I select Grid2 and Click commandbutton I get Cursor6
>> >> > I select Grid3 and Click commandbutton I get Cursor6
>> >> >
>> >> > and so on.
>> >> >
>> >> > I checked the Data Session, when I select Grid1, the current cursor
>> >> >
>> >> > selected is Cursor1, Grid2 and Curso2. but when I click the
>> > commandbutton
>> >> >
>> >> > the selected cursor changes to Cursor6. No other commands on the
> form.
>> >> >
>> >> >
>> >> > Please help thanks.
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>>
>
>
.
- References:
- Cursor in Grid
- From: HerbertDB@GTECH
- SV: Cursor in Grid
- From: Anders
- Re: Cursor in Grid
- From: HerbertDB@GTECH
- Re: Cursor in Grid
- From: Fred Taylor
- Re: Cursor in Grid
- From: HerbertDB@GTECH
- Cursor in Grid
- Prev by Date: Re: Data Environment Question
- Next by Date: Re: Cursor in Grid
- Previous by thread: Re: Cursor in Grid
- Next by thread: SV: Cursor in Grid
- Index(es):
Relevant Pages
|