Thread: Graal3 GUI
View Single Post
  #18  
Old 09-05-2005, 11:12 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Update for profiles:
You can change the color of a gui object without creating a new profile now:

PHP Code:
new GuiTextCtrl("MyText") {
  
100;
  
profile "GuiTextProfile";
  
useownprofile true;
  
profile.fontColor = {0,0,255};

When setting "useownprofile = true" then the gui object will create a new profile, copying the existing profile you have specified. All further profile modifications will only affect the current gui object. In this example it is setting the font color to "blue".
Reply With Quote