Here i am again!!!
This time a want to know how can i write global functions and procedures to use in diferent projects, i mean in vb i woul´d create a module and then i woul´d add that module to any project i wanted.
i also need to know how can i pass controls like labels and combos to those procedures.
i need also a to know if there is any function that can count the ocurrencys of a char or a substring, in a string ex. S:='okokok' strcount???(s,'k') ---> shoul´d return 3
P.S.- i still can´t find any proprety in the comboboxes where i coul´d hide a value or a string
ex: i have a combo with 2 items
apple in index 0
peach in index 1
i want to hide the value 200 in apple and 150 in peach, then when i select the apple for example, i woul'd be able
to do this edit1.text:=combobox1.?????
and then it appeared in edit1.text the value 200