Page 4 of 4

Re: Help with using IDE

Posted: Thu Aug 23, 2012 10:23 pm
by esgici
Hi All

I am a Clipper fan and I love Clipper lovers, especially "olds" ;)

This night I have worked for Mark; I hope this time he will like my work ;)
Data Bound Grid with Quick Search - Screen shoot
Data Bound Grid with Quick Search - Screen shoot
DBGrdQS.JPG (51.23 KiB) Viewed 7729 times
DBGrdQS.zip
Data Bound Grid with Quick Search - Source files
(2.21 KiB) Downloaded 385 times
Happy HMG'ing :D

Re: Help with using IDE

Posted: Fri Aug 24, 2012 4:32 am
by Rathinagiri
It is very nice Esgici.

In a live software of mine, I have done like this. I have added two more features.

1. If they start typing a number, it will search in 'code' column

2. If no string is matching in the first column, it will start search in next column and so on. (it is like anywhere searching even inside a string)

And, I would add two buttons (like a GridToolBar) to export the contents to Excel (via my Grid2CSV function) and print the contents anytime to the printer (via GridPrint)
gridtool.jpg
gridtool.jpg (46.93 KiB) Viewed 7721 times

Re: Help with using IDE

Posted: Fri Aug 24, 2012 5:25 am
by MGOLDFARB
This is exactly what I need. You guys are great! Thank you!

Mark

Re: Help with using IDE

Posted: Fri Aug 24, 2012 9:01 am
by esgici
Well ...

I'm glad that you liked it :)

Do you like also sharing with us your enhancements ?

Regards

Re: Help with using IDE

Posted: Fri Aug 24, 2012 9:08 am
by MGOLDFARB
When I am at a point that I have enhancements, i will be delighted to share them. I think I am far away from that point (I am doing this part time...) :)

Re: Help with using IDE

Posted: Sat Aug 25, 2012 9:42 pm
by esgici
Hi Rathi and Mark

I have made a mistake, sorry :(
esgici wrote:I'm glad that you liked it :)
This was to Mark and Rathi.
esgici wrote:Do you like sharing with us your enhancements ?
This was to Rathi.

Sorry again :(

Regards

Re: Help with using IDE

Posted: Sun Aug 26, 2012 6:24 pm
by MGOLDFARB
I managed to implement the search by two columns (1st one column and then the next). Very cool.

Is there a simple way to mimic the picture/valid options for the @ SAY GET commans in clipper?

I want to force the user to answer only Y or N (in caps), or I want to force a phone number in a certain format (###-###-####).


Thanks.

Re: Help with using IDE

Posted: Sun Aug 26, 2012 9:38 pm
by esgici
MGOLDFARB wrote:Is there a simple way to mimic the picture/valid options for the @ SAY GET commans in clipper?I want to force the user to answer only Y or N
<hmg>\SAMPLES\TUTORIAL\TUTOR05.PRG
or
<hmg>/DOC/data/index.htm -> Basics\Tutorials\ Getting Logical

Note : <hmg> : HMG root folder depending on your installation
or
viewtopic.php?f=5&t=16
MGOLDFARB wrote:I want to force a phone number in a certain format (###-###-####).
Please look at InputMask property of TextBox control:
HMG Doc wrote:InputMask String (Non-Numeric Textbox):

9 Digits
A Alphabetic Characters
! Converts an alphabetic character to uppercase

(All other characters ar included in text in the position indicated by the mask)
So, you need a textbox with DATATYPE CHARACTER and INPUTMASK "999-999-999"

Re: Help with using IDE

Posted: Mon Aug 27, 2012 3:28 am
by Rathinagiri
esgici wrote:Hi Rathi and Mark

I have made a mistake, sorry :(
esgici wrote:I'm glad that you liked it :)
This was to Mark and Rathi.
esgici wrote:Do you like sharing with us your enhancements ?
This was to Rathi.

Sorry again :(

Regards
No problem Esgici,

I shall make a small project and submit here.