thanks i did the textbox thing ! my problem is now that i can not change the enable property!
i type
form1.menuitem11.enable=false
and i decalare my menu item 11 as an shared one!
now the problem of second form is solved but another problem came up :(
i had a click handler for menuitem11...
thanks a lot my problem got solved but another question created!
now the aim is not to change a text but value ! the aim is to disable a menu item! at first in designing mode, menu items are not created as shared! so i changed them to shared :
Friend shared WithEvents MenuItem11...
i took a loot at it but did not help much ! is this wrong ?why?
'form 2 on click Handler sub
'the textbox1 is in the first form and the button is in the second form
' i want to know why the following code is wrong and what is the right thing
form1.textbox1.text="neo"
i have 2 forms , i have created a button in the forst form tha brings up the second form when it is clicked and the second form has a button.
now there is the problem ,i have a textbox on the first form and i want to when the button on the second form is clicked the value of the textbox in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.