Im havin noobie problems like making OK and Cancel buttons any help please lol?.. also how do u go about makin seperate dialog boxes so that when i click on New Entry it opens a "New Entry" Dialog?
If vbYes = MsgBox("press", vbDefaultButton1 + vbYesNo + vbMsgBoxSetForeground + vbQuestion, "Title") Then
vbDefaultButton 'connects' the first button (here the Yes button) to the enter key.
vbYesNo means that there will be 2 buttons to click on.
vbMsgBoxSetForeground means that what ever happens the messagebox will be put in front of any other form or app.
vbQuestion shows an questionmark icon
You can make you own 'dialogs' by showing a (little) form. Place some commandbuttons on it and/or some little pictures as icons.
Show it with:
so the user has to click on it before the app proceeds.
In the commandbuttons of the form take this code to hide the form:
Private Sub Command1_Click()
Now your app continues on the next line of code after this line:
That will be what you probably need to do but if you're trying to put those buttons on the application that isn't in a message box then just add a command button from the tool box and in the property window in the bottom left of the screen (when the button is selected) change the caption to whatever you want it to say.
Hi when I tried to insert my output the void displayed null or 0 can you tell me what's wrong with my rpogram? tnx
My main program
int choice; public static void main(String args) Scanner absorb = new Scanner(System.in); // phase 1 login cloth cl = new ...
i am trying to create a library management system which is supposed to be used to store/keep infp for the library and the library members( book title, author, name and picture for borrower and other stuffs). The app has 6 buttons, delete, save, add,previsous,next, and upload( for upload ...
Im trying to bind my custom vertical scrollbar to datagridview is this possible.. Please help Thnak you..