pan_create function

Posted By: amadeu

pan_create function - 10/07/07 09:40

Hi

I have another question. I created one panel with one button with pan_create function and the panel with the button was created but the parameters "functionOn" did not work in LiteC. It did the same code with c-script(.wdl) and it worked. why? What is the problem with liteC?

my pan_create code is:
Panel* Teste;
...
teste = pan_create("pos_x = 0; pos_y = 550; flags = VISIBLE; button(193,11, button_eyes_d.tga, button_eyes_n.tga, button_eyes_o.tga, fristPerson, NULL, NULL);", 1);

thx
Posted By: HeelX

Re: pan_create function - 10/07/07 10:51

I did not tested it, but your sample code seems to have a typo. I guess your function is "firstPerson" instead of "fristPerson".
Posted By: amadeu

Re: pan_create function - 10/07/07 14:43

hi.

I put the same name of function in the pan_create but it did not work.


Posted By: dennis

Re: pan_create function - 10/07/07 16:49

Hi

Is that your problem?
http://www.coniserver.net/ubbthreads/sho...true#Post784646
Posted By: amadeu

Re: pan_create function - 10/07/07 17:03

Yes,
it is my problem, but donīt have solution.


do you know the solution?
Posted By: dennis

Re: pan_create function - 10/07/07 17:14


I will post something in the other thread...
Posted By: amadeu

Re: pan_create function - 10/07/07 17:17

ok.

i will wait the other thread.

thx
Posted By: Ottawa

Re: pan_create function - 10/08/07 23:11

Hi!

I noticed

Panel* Teste;
...
teste = pan..............

Should teste be Teste = pan......

Ottawa
Posted By: dennis

Re: pan_create function - 10/09/07 10:52


@amadeu:
Does it work now?
© 2024 lite-C Forums