Search found 217 matches

by franco
Fri Jun 16, 2017 4:52 pm
Forum: HMG General Help
Topic: Textbox and Cursor Position
Replies: 14
Views: 1534

Re: Textbox and Cursor Position

kdj, I have not found how to use the keyboard() function in hmg but.
If you know it you could try in text_1 ..... on gotfocus keyboard(chr29)) ... or onmouseclick keyboard(chr(29))
Let me know, if you know how to use keyboard command and if this works, for I have same problem.
Franco
by franco
Thu Jun 15, 2017 7:22 pm
Forum: GUI Basics
Topic: GRID in HMG 3.4.4 - Unable to view (edit) MEMO field contents ?
Replies: 12
Views: 1522

Re: GRID in HMG 3.4.4 - Unable to view (edit) MEMO field contents ?

Hi Marin, Thanks for resonce. I have grid cell fixed. Still no text box update, the table is set to eof() not to grid item. I noticed a post on 3.4.4 by Rathi on mar29/17 says: NOTE: The RECNO property of the Grid control not changes the current physical record number of the DBF file, only convert b...
by franco
Wed Jun 14, 2017 7:38 pm
Forum: GUI Basics
Topic: GRID in HMG 3.4.4 - Unable to view (edit) MEMO field contents ?
Replies: 12
Views: 1522

Re: GRID in HMG 3.4.4 - Unable to view (edit) MEMO field contents ?

Here is sample of what I am having trouble with. I am sure I am doing something wrong in 3.4.4. The DESC text box updates in 3.2 but does not in 3.4.4 on save and refresh in CH Function. Also I can not remember how to set the curser back to the grid column I left. #include "hmg.ch" Function Main FIL...
by franco
Tue Jun 13, 2017 3:44 pm
Forum: HMG Unicode version
Topic: IDE or manually write source?
Replies: 10
Views: 1258

Re: IDE or manually write source?

Welcome from Canada,
Franco
by franco
Tue Jun 13, 2017 8:18 am
Forum: HMG General Help
Topic: Textbox Problem
Replies: 18
Views: 1986

Re: Textbox Problem

KDJ, I added what you suggested but still would not stop the problem, but I added at the bottom before return this fix and works fine. It stops any additional characters in keyboard buffer. DEFINE TEXTBOX TEXT1 ROW 30 COL 10 WIDTH 280 HEIGHT 30 //fixed //ON ENTER { || {MYBOXV := MYBOX.TEXT1.VALUE}, ...
by franco
Tue Jun 13, 2017 8:10 am
Forum: HMG General Help
Topic: Textbox Problem
Replies: 18
Views: 1986

Re: Textbox Problem

Thanks Serge, I will give it a try.
Franco
by franco
Mon Jun 12, 2017 6:26 am
Forum: HMG General Help
Topic: Textbox Problem
Replies: 18
Views: 1986

Re: Textbox Problem

Serge thanks for responce. Should I put my error function at the bottom of my main module or in my procedure file. Thanks Edward I tried this but still crashes. KDJ great work I will give a try. I find the same problem in textboxes and buttons. I am going to move everything back to 3.2 and see if st...
by franco
Sat Jun 10, 2017 5:16 pm
Forum: HMG General Help
Topic: Textbox Problem
Replies: 18
Views: 1986

Re: Textbox Problem

Back to this problem. My error program designed for me by Edward (Thanks Edward) does not catch error for _Inputbox not active. Can anyone Help me add an code to my error program to catch this error and return to the program without exiting program with Windows error. Like in error function If oErro...
by franco
Fri Jun 09, 2017 11:00 pm
Forum: GUI Basics
Topic: GRID in HMG 3.4.4 - Unable to view (edit) MEMO field contents ?
Replies: 12
Views: 1522

Re: GRID in HMG 3.4.4 - Unable to view (edit) MEMO field contents ?

I am having a similar problem. In 3.2 worked fine but does not in 3.4.4. I have textboxes outside of grid. They do not update anymore. I can not make them work at all. If I leave the grid the textbox in 3.2 would update from the table. In 3.4.4 it will not update. It is not linked to the table anymo...
by franco
Mon Jun 05, 2017 1:30 pm
Forum: HMG General Help
Topic: Textbox Problem
Replies: 18
Views: 1986

Re: Textbox Problem

As I said at the start this small program does not have a problem. My pos program is quite large. This only started happening after I installed 3.4.4 in a slower windows 10 computer, intel duel core 3050 2.16 ghz. 4 gigs ram. But the compiled program has problem in all computers. I am going to try t...