Search found 1706 matches

by serge_girard
Mon Dec 11, 2017 9:08 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

Robert, Sometimes I indeed put many things onto one screen (just like old DOS-Clipper). Only 'problem' is to keep all well synchronized (visibile - not visible - defined released etc.). Recently I had a screen with 'row-input (2 textboxes,2 combox, 1 button)' + button to add a row + button to delete...
by serge_girard
Mon Dec 11, 2017 5:26 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

Wow, nice picture !

Serge
by serge_girard
Mon Dec 11, 2017 4:20 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

I didn't know that Poland was a tropical paradise! Full of sun etc...
by serge_girard
Mon Dec 11, 2017 10:18 am
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

A nice day but cold: today 15cm snow...
by serge_girard
Mon Dec 11, 2017 10:18 am
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

Thx, you too !

Serge
by serge_girard
Mon Dec 11, 2017 8:11 am
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

Robert, Maybe this is you mean: #include "hmg.ch" //prg is called from a main.prg SET LANGUAGE TO GERMAN REQUEST HB_SETCODEPAGE HB_SETCODEPAGE ('ES850') public cPersnr IF .NOT. FILE('newtable.dbf') aSTRUCT := {} AADD( aSTRUCT , { 'persnr' , 'C' , 4 , 0 } ) AADD( aSTRUCT , { 'date' , 'D' , 8 , 0 } ) ...
by serge_girard
Sun Dec 10, 2017 5:46 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

Robert, The BUTTON release the form and so does function ende() ( + hb_setcodepage('DEWIN') ) I am afraid I don't understand what you want to achieve when double-clicking and what you want to let happen when F10 is pressed. DEFINE WINDOW Form_1 ; AT 10,10 ; WIDTH 900 ; HEIGHT 1200 ; TITLE "Fahrer " ...
by serge_girard
Sun Dec 10, 2017 2:36 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

OK, I made it as a Main.prg, created your DBF and noticed that the button was not visible because it was 'under' the grid. So closing the grid made it temporarily visible.

Serge
by serge_girard
Sun Dec 10, 2017 2:19 pm
Forum: HMG General Help
Topic: GRID - OnQueryData
Replies: 7
Views: 197

Re: GRID - OnQueryData

Rafat,

Please try with ControlName.GridName.value:= {n ,1} where n is your index.

Serge
by serge_girard
Sun Dec 10, 2017 2:13 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 21
Views: 310

Re: Button position in a grid

Robert,

As I see now the button is located inside the grid (@10,10 width 1000 height 830). This will cause strange effects!

Serge