Grid COLUMNCONTROLS error

Moderator: Rathinagiri

Post Reply
User avatar
miszler.zoltan
Posts: 22
Joined: Sun May 26, 2013 12:37 pm
Location: Hungary
Contact:

Grid COLUMNCONTROLS error

Post by miszler.zoltan »

Greeting!

Once again I managed to run into another error:
If the grid COLUMNCONTROLS NUMERIC value is written in small letters, it displays instead of the number on the grid NIL value.

COLUMNCONTROLS { {'TEXTBOX','NUMERIC','999,999.99'} , {'TEXTBOX','numeric','999,999.99'} }

Examples included. HMG 3.4.2

:) Zoltan

Code: Select all

#include "hmg.ch"

Function Main()
Local aRows[3] [3]

	DEFINE WINDOW Form_1 AT 0,0 WIDTH 640 HEIGHT 400 TITLE 'Grid Error Test' MAIN 
		aRows [1]	:= {113.12,113.12 }
		aRows [2]	:= {123.12,113.12 } 
		aRows [3]	:= {133.12,113.12 } 

		@ 10,10 GRID Grid_1 WIDTH 620 HEIGHT 330 HEADERS {'Column 1','Column 2'} WIDTHS {140,140} ITEMS aRows ;
		COLUMNCONTROLS { {'TEXTBOX','NUMERIC','999,999.99'} , {'TEXTBOX','numeric','999,999.99'} } 
	END WINDOW
	CENTER WINDOW Form_1
	ACTIVATE WINDOW Form_1
Return
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Grid COLUMNCONTROLS error

Post by srvet_claudio »

I will check.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Grid COLUMNCONTROLS error in LOWER CASE

Post by Pablo César »

error:
If the grid COLUMNCONTROLS NUMERIC value is written in small letters, it displays instead of the number on the grid NIL value.
[/quote]

+1
 
Screen119.png
Screen119.png (24.93 KiB) Viewed 2023 times
miszler.zoltan wrote: Wed Jun 08, 2016 7:36 am
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply