Jump to content
Sign in to follow this  
jts_2009

RscToolBox - How to use?

Recommended Posts

Hello all. I have defined RscToolBox in description.ext

class RscToolbox
{
          access = 0;
type = 6;
style = ST_SINGLE;
colorText[] = {0.8,0.8,0.8,1};
color[] = {0,0,0,0};
colorTextSelect[] = {1,1,1,1};
colorSelect[] = {0.0,0.0,0.0,0.8};
colorTextDisable[] = {0.0,0.0,0.0,0.2};
colorDisable[] = {0.0,0.0,0.0,0.2};
font = "tahomaB24";
sizeEx = 0.02;
};

And there is it in dialog:

class TLB:RscToolbox
{
idc = 1001;
x = 0.5;
y = 0.02;
w = 0.13;
h = 0.145;
strings[] = {"Apps","Options"};
values[] = {1,1};
rows = 6;
columns = 2;
};

ok. Now is the question: How to use it in OFP? What can I do with it? (Please don't tell me to use RscListBox or RscCombo). Can someone write me one example code? For example - If i select something in that toolbox, some static text will be changed. Like - ctrlsettext [2, "haha"] :confused:

Edited by JTS_2009

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×