FOXPRO GET PICTURE "@m Printer, File"

FOXPRO GET PICTURE "@m Printer, File"

Postby shrifw » Sat Jul 01, 2023 3:53 pm

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 view  RUN

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

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

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

Postby karinha » Sat Jul 01, 2023 5:00 pm

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
karinha
 
Posts: 7835
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

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

Postby nageswaragunupudi » Sat Jul 01, 2023 5:02 pm

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 view  RUN

 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
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby shrifw » Sat Jul 01, 2023 5:43 pm

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"

Postby shrifw » Sat Jul 01, 2023 5:45 pm

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 view  RUN

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

 

We will provide this soon


Thank you Rao Sir..!
shrifw
 
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

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

Postby karinha » Sun Jul 02, 2023 1:36 pm

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
User avatar
karinha
 
Posts: 7835
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

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

Postby shrifw » Sun Jul 02, 2023 3:28 pm

Hi Karinha ,

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

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

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

Postby Antonio Linares » Mon Jul 03, 2023 2:33 pm

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby shrifw » Mon Jul 03, 2023 2:36 pm

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
shrifw
 
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

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

Postby nageswaragunupudi » Tue Jul 25, 2023 12:34 pm

Provided in FWH2307 soon to be released.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby shrifw » Thu Jul 27, 2023 4:22 am

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"

Postby shrifw » Mon Aug 07, 2023 7:50 am

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
shrifw
 
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

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

Postby nageswaragunupudi » Mon Aug 07, 2023 8:29 am

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
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby shrifw » Tue Sep 12, 2023 3:32 pm

Dear Rao Sir ,

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

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

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

Postby nageswaragunupudi » Tue Sep 12, 2023 5:19 pm

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Surasak and 26 guests