FOXPRO GET PICTURE "@m Printer, File"

shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

Dear All ,

I was using GET below in Foxpro which provide facility to the user to toggle the values by either pressing SPACE BAR or entry the first letter. How we can achieve this in FWH GET ?

Code: Select all | Expand

 cPrintOpt = "Printer" 
 @10,10 say "Select Print Option ==> " GET cPrintOpt PICTURE  "@m Printer, File" 
 READ 

 
User avatar
karinha
Posts: 7990
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 6 times
Contact:

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by karinha »

Hello, what does "@m" do in FoxPro? Can you show a screenshot of the result of this "crazy" GET?

Thanks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
nageswaragunupudi
Posts: 10733
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 11 times
Contact:

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by nageswaragunupudi »

shrifw wrote:Dear All ,

I was using GET below in Foxpro which provide facility to the user to toggle the values by either pressing SPACE BAR or entry the first letter. How we can achieve this in FWH GET ?

Code: Select all | Expand

 cPrintOpt = "Printer" 
 @10,10 say "Select Print Option ==> " GET cPrintOpt PICTURE  "@m Printer, File" 
 READ 

 
We will provide this soon
Regards

G. N. Rao.
Hyderabad, India
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

karinha wrote:Hello, what does "@m" do in FoxPro? Can you show a screenshot of the result of this "crazy" GET?

Thanks.

Regards, saludos.
I do not have screen but it is GET which accepts values from list of PICTURE Clause "@m Printer, File" it similar as list of array. Additionally SPACE BAR toggle the values also first letter of the values.
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

nageswaragunupudi wrote:
shrifw wrote:Dear All ,

I was using GET below in Foxpro which provide facility to the user to toggle the values by either pressing SPACE BAR or entry the first letter. How we can achieve this in FWH GET ?

Code: Select all | Expand

 cPrintOpt = "Printer" 
 @10,10 say "Select Print Option ==> " GET cPrintOpt PICTURE  "@m Printer, File" 
 READ 

 
We will provide this soon
Thank you Rao Sir..!
User avatar
karinha
Posts: 7990
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 6 times
Contact:

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by karinha »

Good morning. You don't know how to say what this GET has to return? Could it be this example from the link below?

https://www.tek-tips.com/viewthread.cfm?qid=1813914

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

Hi Karinha ,

Not this issue..! I do not have old Foxpro 2.6 version otherwise would have sent images.

Thanks
Shridhar
User avatar
Antonio Linares
Site Admin
Posts: 42723
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 93 times
Been thanked: 106 times
Contact:

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by Antonio Linares »

Why don't you use a combobox ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

Dear Antonio ,

Yes we can use but issue with combo box navigation using arrows keys and also its looks is different compare to GET.

Thanks
Shridhar
User avatar
nageswaragunupudi
Posts: 10733
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 11 times
Contact:

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by nageswaragunupudi »

Provided in FWH2307 soon to be released.
Regards

G. N. Rao.
Hyderabad, India
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

Dear Rao Sir ,

Many Many Thanks :)


Thanks
Shridhar
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

Dear Rao Sir ,

This is working but AFTER ENTER Key the cursor/focus is not moving to the next GET. To move cursor I am pressing TAB key. Could you please help on this.


Thanks
Shridhar
User avatar
nageswaragunupudi
Posts: 10733
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 11 times
Contact:

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by nageswaragunupudi »

shrifw wrote:Dear Rao Sir ,

This is working but AFTER ENTER Key the cursor/focus is not moving to the next GET. To move cursor I am pressing TAB key. Could you please help on this.


Thanks
Shridhar
Ok. I will check this and get back to you.
Regards

G. N. Rao.
Hyderabad, India
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by shrifw »

Dear Rao Sir ,

May I request you to look into this. Thanks in advance..!

Thanks
Shridhar
User avatar
nageswaragunupudi
Posts: 10733
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 11 times
Contact:

Re: FOXPRO GET PICTURE "@m Printer, File"

Post by nageswaragunupudi »

This is provided now.
Will be available from next version.
Regards

G. N. Rao.
Hyderabad, India
Post Reply