Search found 30 matches

by Marin
Sun Feb 18, 2018 1:20 pm
Forum: HMG Source
Topic: Help
Replies: 8
Views: 122

Re: Help

zorpavns wrote:
Sun Feb 18, 2018 12:58 pm
What to do when a combined index is composed of letters and numbers
Please kindly give an example of your index key resulting data. Up to now we were talking about numbers only, i guess...
by Marin
Sun Feb 18, 2018 12:56 pm
Forum: HMG Source
Topic: Help
Replies: 8
Views: 122

Re: Help

Hi zorpavns,

Try using:
INDEX ON VAL(char_field) to File_NTX.

Regards,
Marin
by Marin
Fri Feb 16, 2018 5:59 pm
Forum: HMG General Help
Topic: Enable/ disable Menu item
Replies: 4
Views: 171

Re: Enable/ disable Menu item

Dear bluebird, Please consider the following PRG-fragment - it is just an idea. Remember the naming clause at the end of the ITEM statement. DEFINE MAIN MENU OF Win_1 POPUP '1. Input data' POPUP '1.1. Dentists' ITEM '√ 1.1.1. Dentists - input' ACTION GetKabineti() NAME MENU111 SEPARATOR ITEM '√ 1.1....
by Marin
Thu Jun 15, 2017 8:30 am
Forum: GUI Basics
Topic: GRID in HMG 3.4.4 - Unable to view (edit) MEMO field contents ?
Replies: 15
Views: 1979

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

Hi, Franco, Based on your PRG-fragment I can not formulate your personaly needs exactly, but please read the text below. You may find it useful. Regarding "Also I can not remember how to set the curser back to the grid column I left. ". 1. When you set the GRID property CELLNAVIGATION to .T., then y...
by Marin
Fri Jun 09, 2017 10:47 am
Forum: GUI Basics
Topic: Combobx control
Replies: 15
Views: 1501

Re: Combobx control

Hi, Georg, I do not deny the presence of a problem with the COMBOs HEIGHT property. But maybe it is worth to answer the question of Dragan for yourself. In other words, how could we make a manual selection from such a big list (3680 positions)? Should not the list be truncated in a suitable manner f...
by Marin
Fri Jun 09, 2017 10:20 am
Forum: HMG Samples
Topic: EditBox/TextBox - improvement
Replies: 8
Views: 1273

Re: EditBox/TextBox - improvement

Thank you very much, KDJ, for your efforts and sharing.

Have a nice day,
Marin
by Marin
Wed Jun 07, 2017 1:03 pm
Forum: GUI Basics
Topic: Combobx control
Replies: 15
Views: 1501

Re: Combobx control

Sorry, Georg, I didn't understand your question right. As far as I remember, there was somewhere in our forum a clarification, that the HEIGHT property applies to the height of the initial box of the combobox only and not to the height of the expanded dropdown list. Unfortunately, I can not give her...
by Marin
Wed Jun 07, 2017 10:25 am
Forum: GUI Basics
Topic: Combobx control
Replies: 15
Views: 1501

Re: Combobx control

Hi, Georg_BA, Would you, please, try this (from my humble experience with COMBOs): DEFINE COMBOBOX Combo_2 ROW 10 COL 250 // ITEMSOURCE CIDADES->CODIGO , CIDADES->DESCRICAO ITEMSOURCE CIDADES->CODIGO + " " + CIDADES->DESCRICAO VALUE 2 WIDTH 200 HEIGHT 100 IMAGE aImages DROPPEDWIDTH 350 ONDROPDOWN Pl...
by Marin
Fri Jun 02, 2017 10:06 am
Forum: HMG General Help
Topic: Change font color to grid cell runtime
Replies: 12
Views: 1482

Re: Change font color to grid cell runtime

serge_girard wrote:
Fri Jun 02, 2017 10:00 am
Hi Marin,

Thanks for nice example!


Serge
I learned a lot from you, Serge!
Thank you.

Marin
by Marin
Fri Jun 02, 2017 9:08 am
Forum: HMG General Help
Topic: Change font color to grid cell runtime
Replies: 12
Views: 1482

Re: Change font color to grid cell runtime

Hi, jairpinho, Serge gave you a good and working solution. May I propose you my approach - you might find it useful. Kind regards, Marin // 1st step: Define colors and the matching condition for changing colors PRIVATE GRDForeColor := { || IF ( AtCellColFn1( HMG_LEN(aCOLUMNFIELDS) ) == 1, { 255, 0, ...