Topic: Color picker
Hi,
Is it possible to have a color picker? and save the value as hex in db?
many many thanks
My Visual Database → General → Color picker
Hi,
Is it possible to have a color picker? and save the value as hex in db?
many many thanks
Hope something like this can get you started to what you are looking for.
Many Many Thanks,
Sorry for late I was in Hospital.
One ore question, how can I convert that Hex string to TColor?
Many Many Thnaks
Забей на HEX, сохраняй и восстанавливай десятичное (оно же и есть TColor)
Form1.Edit1.Text := IntToStr(cDialog.Color);
Form1.Edit1.Color := StrToInt(Form1.Edit1.Text);
Забей на HEX, сохраняй и восстанавливай десятичное (оно же и есть TColor)
Form1.Edit1.Text := IntToStr(cDialog.Color); Form1.Edit1.Color := StrToInt(Form1.Edit1.Text);
Many Thanks but when I run this:
TdbPanel(Main.FindComponent('Panel'+IntToStr(i))).Color := StrToInt(SQLExecute('SELECT busycolor FROM settings order by id desc'));
I Have this:
FF0000 is not a Valid Integer value
How can I solve this?
... := StrToInt('$' + SQLExecute('SELECT busycolor FROM settings order by id desc'));
My Visual Database → General → Color picker
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi