knowledge-database (beta)

Current group: dbase.programming

Browse

Browse  
Yiannis H. Economides
 Re: Browse  
Jean-Pierre Martel
 Re: Browse  
Yiannis H. Economides
 Re: Browse  
Ken B
 Re: Browse  
Yiannis H. Economides
 Re: Browse  
Roland Wingerter
 Re: Browse  
Yiannis H. Economides
 Re: Browse  
Roland Wingerter
From:Yiannis H. Economides
Subject:Browse
Date:Thu, 20 Jan 2005 07:10:24 -0500
Two questions about BROWSE
1. I am using BROWSE class on a form and although I spcified some fields as read only through the Fieds property Builder, those fields are stil editable.
I checked the string for Feilds and the \R is correct.
Any ideas ?

2. I am using the bROWSE class on a form crwated with DEFINE FORM command not in an .wfm form. I want to have the field selected when the user presses left clik in order to be easier to edit number values. When I issue a keyboard (ctrl+home) cursor moves to the forst field on the current browse row . But when I use Browse command and press ctrl+home I get the result I want, that is the current field is selected.
Any suggestions please.

Yiannis
From:Jean-Pierre Martel
Subject:Re: Browse
Date:Thu, 20 Jan 2005 12:23:09 -0500
In article , yianeco@cytanet.com.cy says...

>
> Two questions about BROWSE

Which version of dBASE are you using?

Jean-Pierre Martel, editor
The dBASE Developers Bulletin
Blue Star dBASE Plus Core Concepts Graduate
From:Yiannis H. Economides
Subject:Re: Browse
Date:Thu, 20 Jan 2005 14:56:57 -0500
db2k

Yiannis

Jean-Pierre Martel Wrote:

> In article , yianeco@cytanet.com.cy says...
>
> >
> > Two questions about BROWSE
>
> Which version of dBASE are you using?
>
> Jean-Pierre Martel, editor
> The dBASE Developers Bulletin
> Blue Star dBASE Plus Core Concepts Graduate
From:Ken B
Subject:Re: Browse
Date:Thu, 20 Jan 2005 09:48:36 -0500

"Yiannis H. Economides" wrote in message
news:PYtcFku$EHA.876@news-server...
> Two questions about BROWSE
> 1. I am using BROWSE class on a form and although I spcified some fields
> as read only through the Fieds property Builder, those fields are stil
> editable.
> I checked the string for Feilds and the \R is correct.
> Any ideas ?
The browse control in 32-bit dbase doesn't function the same as the 16-bit
version. The \R option doesn't work but a work around would be to make a
calculated field for the desired field.

>
> 2. I am using the bROWSE class on a form crwated with DEFINE FORM command
> not in an .wfm form. I want to have the field selected when the user
> presses left clik in order to be easier to edit number values. When I
> issue a keyboard (ctrl+home) cursor moves to the forst field on the
> current browse row . But when I use Browse command and press ctrl+home I
> get the result I want, that is the current field is selected.
> Any suggestions please.

How about using keyboard(home) instead?
From:Yiannis H. Economides
Subject:Re: Browse
Date:Thu, 20 Jan 2005 14:56:20 -0500
But I have it on some of my forms and it works.
Those forms are not .wfm files
Maybe this is the difference.

Yiannis




Ken B Wrote:

> The browse control in 32-bit dbase doesn't function the same as the 16-bit
> version. The \R option doesn't work but a work around would be to make a
> calculated field for the desired field.
From:Roland Wingerter
Subject:Re: Browse
Date:Thu, 20 Jan 2005 16:46:42 +0100
Yiannis H. Economides wrote:
>
> 2. I am using the bROWSE class on a form crwated with DEFINE FORM
> command not in an .wfm form. I want to have the field selected when
> the user presses left clik in order to be easier to edit number
> values.
------
Try this:

function BROWSE1_onLeftMouseDown(flags, col, row)
// move to beginning of field
keyboard("{home}")
// move to field end, highlight field contents
keyboard("{shift+End}")
return

Roland
From:Yiannis H. Economides
Subject:Re: Browse
Date:Thu, 20 Jan 2005 14:54:37 -0500
Yes, this works exactly as I want it.
Thank you very much.

Yiannis


Roland Wingerter Wrote:

> Yiannis H. Economides wrote:
> >
> > 2. I am using the bROWSE class on a form crwated with DEFINE FORM
> > command not in an .wfm form. I want to have the field selected when
> > the user presses left clik in order to be easier to edit number
> > values.
> ------
> Try this:
>
> function BROWSE1_onLeftMouseDown(flags, col, row)
> // move to beginning of field
> keyboard("{home}")
> // move to field end, highlight field contents
> keyboard("{shift+End}")
> return
>
> Roland
>
>
From:Roland Wingerter
Subject:Re: Browse
Date:Fri, 21 Jan 2005 08:44:23 +0100
Yiannis H. Economides wrote:
> Yes, this works exactly as I want it.
> Thank you very much.
-----
You're welcome :-)

Roland
   

Copyright © 2006 knowledge-database   -   All rights reserved