S
Starbuck
Hi
Using VB.NET
I am scratching my head over a little issue that has me foxed.
We have a form which has a selection of label controls and buttons.
The idea of the form is to allow the user to select different background and
foreground colours for different events.
The user clicks background button 1 and selects a background colour via a
common dialog box, this is displayed in label 1.
They can then do the same with the foreground colour.
This part works fine, however we then need to save the selected colours in a
string for later use.
We also need to fill the labels on the form with the colours stored in the
string should the user decide to edit the settings.
The colours are then used to set the grid colours of records in a datagrid.
Can anyone advise on the best way of storing the selected foreground and
background colours in a string and also how to set the labels colours to the
values in the string.
Thanks in advance for any advise.
Using VB.NET
I am scratching my head over a little issue that has me foxed.
We have a form which has a selection of label controls and buttons.
The idea of the form is to allow the user to select different background and
foreground colours for different events.
The user clicks background button 1 and selects a background colour via a
common dialog box, this is displayed in label 1.
They can then do the same with the foreground colour.
This part works fine, however we then need to save the selected colours in a
string for later use.
We also need to fill the labels on the form with the colours stored in the
string should the user decide to edit the settings.
The colours are then used to set the grid colours of records in a datagrid.
Can anyone advise on the best way of storing the selected foreground and
background colours in a string and also how to set the labels colours to the
values in the string.
Thanks in advance for any advise.