Help with using IDE

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

Moderator: Rathinagiri

User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Help with using IDE

Post 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 7165 times
DBGrdQS.zip
Data Bound Grid with Quick Search - Source files
(2.21 KiB) Downloaded 357 times
Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Help with using IDE

Post 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 7157 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

Re: Help with using IDE

Post by MGOLDFARB »

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

Mark
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Help with using IDE

Post by esgici »

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

Re: Help with using IDE

Post 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...) :)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Help with using IDE

Post 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
Viva INTERNATIONAL HMG :D
MGOLDFARB
Posts: 71
Joined: Thu Jun 21, 2012 7:46 am

Re: Help with using IDE

Post 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.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Help with using IDE

Post 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"
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Help with using IDE

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