Originally Posted By: vasco
hi all

I am unable to add the sliders and the buttons to the panel.. I tried it by "ADD PLUGIN" in the script editor as well as writing codes for the panel editor function... No results.. wat to be done ??


That's not related to this thread, but I'll help out anyway.

It's better to define panel on your own than using the panelEdit plugin. I would do the following.

Code:
PANEL* some_pan = 
{
	bmap = "panel.tga"; // panel background
 	pos_x = 10; // horizontal margin from screen top left  
 	pos_y = 10; // vertical margin from screen top left

	hslider (x, y, width, "knob.tga", min, max, variable); // here x and y are the horizontal and vertical margin from panel top left

 	button (x, y, "clicked.tga", "normal.tga", "mouse_over.tga", Click_function, normal_function, mouse_over_function); // x and y same as slider, and "normal" function can be used for "on mouse out" functions. Functions can be left as NULL if you don't want to use any.
	
	flags = VISIBLE;
}



Hope it helps, and if it isn't what you asked and if I insulted you in anyway - I apologize in advance. laugh