Welcome! Log In Create A New Profile

Advanced

WD24 - Table->AAFmenu backgroundcolor

Posted by AadG 
WD24 - Table->AAFmenu backgroundcolor
June 11, 2020 11:44AM
Hi all,

In a table you have the possibility to change the bankgroundcolor via a popup menu. Everytime you close the application, the colors are gone. Does anyone know if the choosen colors can be saved to make it a sort permanent. ?

Best regards,

Aad
Re: WD24 - Table->AAFmenu backgroundcolor
June 11, 2020 01:10PM
Hi Aad,

yes.

IF HReadSeekFirst(CONTROLSETTINGS,CS_USERID_CONTROLNAME,NumToString(MyUSERis_USERID,"010d")+"Table_DEF_LS.Table") THEN
	
	WindowAndControlName = NoSpace(CONTROLSETTINGS.CS_CONTROLNAME)
	
	// Den Font bauen!
	MyFont..Name = NoSpace(CONTROLSETTINGS.CS_TABLE_FONTNAME)
	MyFont..Size = CONTROLSETTINGS.CS_TABLE_FONTSIZE
	MyFont..Bold = CONTROLSETTINGS.CS_TABLE_FONTBOLD
	MyFont..Color = CONTROLSETTINGS.CS_TABLE_FONTCOLOR
	
	// Tabellen-Eigenschaften setzen
	TableColumnCount = {WindowAndControlName,indControl}..NumberColumn
	FOR C = 1 TO TableColumnCount
		{WindowAndControlName+"."+(TableEnumColumn(WindowAndControlName,C)),indControl}..Font = MyFont
	END
	{WindowAndControlName,indControl}..LineHeight = CONTROLSETTINGS.CS_TABLE_LINEHEIGHT
END

Kind regards,
Guenter Predl
office@windev.at
Re: WD24 - Table->AAFmenu backgroundcolor
June 11, 2020 01:22PM
Hi Guenter,

Thanks for your reply. Quite complicated for only a backgroundcolor. I think my customer has to do with the current situation smiling smiley

Best regards,

Aad
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: