Help with using IDE

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

User avatar
esgici
Posts: 4472
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 352 times
Been thanked: 104 times
Contact:

Re: Help with using IDE

Post by esgici » Thu Aug 23, 2012 10:23 pm

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 ;)
DBGrdQS.JPG
Data Bound Grid with Quick Search - Screen shoot
DBGrdQS.JPG (51.23 KiB) Viewed 3428 times
DBGrdQS.zip
Data Bound Grid with Quick Search - Source files
(2.21 KiB) Downloaded 181 times
Happy HMG'ing :D
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5250
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 167 times
Been thanked: 165 times
Contact:

Post by Rathinagiri » Fri Aug 24, 2012 4:32 am

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 3420 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

MGOLDFARB
Posts: 71
Joined: Thu Jun 21, 2012 7:46 am

Post by MGOLDFARB » Fri Aug 24, 2012 5:25 am

This is exactly what I need. You guys are great! Thank you!

Mark

User avatar
esgici
Posts: 4472
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 352 times
Been thanked: 104 times
Contact:

Post by esgici » Fri Aug 24, 2012 9:01 am

Well ...

I'm glad that you liked it :)

Do you like also sharing with us your enhancements ?

Regards
Viva INTERNATIONAL HMG :D

MGOLDFARB
Posts: 71
Joined: Thu Jun 21, 2012 7:46 am

Post by MGOLDFARB » Fri Aug 24, 2012 9:08 am

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...) :)

User avatar
esgici
Posts: 4472
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 352 times
Been thanked: 104 times
Contact:

Post by esgici » Sat Aug 25, 2012 9:42 pm

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
Viva INTERNATIONAL HMG :D

MGOLDFARB
Posts: 71
Joined: Thu Jun 21, 2012 7:46 am

Post by MGOLDFARB » Sun Aug 26, 2012 6:24 pm

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.

User avatar
esgici
Posts: 4472
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 352 times
Been thanked: 104 times
Contact:

Post by esgici » Sun Aug 26, 2012 9:38 pm

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"
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5250
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 167 times
Been thanked: 165 times
Contact:

Post by Rathinagiri » Mon Aug 27, 2012 3:28 am

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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply