How to edit Label while running - vb.net-2010

I've been making a class schedule system for my school project.
I just wanted to ask how can I edit labels while running, so when the user double clicks the label they can put the data they want for their class schedule.
Is there anymore convenient way to do this instead of using labels?

You can't do this while running, but i can help you make a Text Box shown when the users hit double clicks on the label to put the data they want.
I Hope My Answer Was Useful To You.

Related

Add data from a textView to an accessible database

I am a beginner at Xcode, and I am trying to make a suggestion box app. However, I don't know how to make it so that when someone adds text into my textView and presses submit, the text from the textView saves and is shown somewhere else in the app. To make it more clear,
1. The user adds text into the texView(needed to use textView because I need multiple lines) 2. When the user presses submit, the text from the textView saves inside a database. 3. I can see whatever is inside that database.
Thanks!
Yeah I have figured it out. Because it is a suggestion box app, I used a parse database, which is accessible to anyone who has the app.

Textbox dropdown bubble when text goes over visual space?

I looking for a way to add what would look like a drop down box when the user reaches the end of the visible space of a textbox. the drop down would then show what they have already typed pulse what there still typing tell they hit enter. Any ideas? The bigger pitcher is to add whatever method we come up with to a GridViewTextbox where space is limited in a row however the data they enter can be much longer then the box. The idea is to keep user from getting lost in what there typing and can provide easy review and edit. something like this but pops up when you enters then gos back on leave but just be for text as 'enter' will move the user to the next control aka enter as tab
It won't let me post the image I was talking about so use this like as a refrence .NET 2010 custom control, multiline String property to be edited in the designer
In the ASP.NET there is control which suits the need.I hope it helps
It is
<asp:AutoCompleteExtender
runat="server"
BehaviorID="AutoCompleteEx"
ID="autoComplete1"
TargetControlID="targetID"
ServicePath="Give the Path of the web service"
ServiceMethod="Name of the ID "
MinimumPrefixLength="1"
CompletionInterval="500"
EnableCaching="true"
CompletionSetCount="10"
DelimiterCharacters=";, :"
ShowOnlyCurrentWordInCompletionListItem="true"
/>
You could also use a ToolTip control to show a popup message to the user. I've read your question three times now and I'm still not sure entirely what it is you're asking.

Is it possible for a Command Button to show another Command button in Access?

Access novice here. I've been using it for about a week now, and can do most things with enough googling and trial and error.
One question though, I have a form that Im using to add participants into the database. At present, i have 2 buttons, one that opens the MALE add user form, and then another button which opens the FEMALE add user form.
What i was wondering is, is it possible to create a main button (called "ADD USER" for example), that when pressed, shows the two other MALE and FEMALE buttons for the user to choose from?
Sorry if that makes no sense. Basically, can I make a button that when pressed, makes two more buttons visible?
Thank you for any help!
Yes, there are way to do this:
you could create those m/f-buttons and make a function which toggles visibility of your buttons on execution of addUser-button.
you could make an additional dialog, which is called by addUser-button
but my suggestion would be - use radio-buttons for male/female and their setup to execute addUser correctly ;) mainly, because I find this more intuitive and efficient.
like this, now you can access those to know which one is selected, or you can use a global variable or a property to be setup by those radio-buttons and then accessed by other objects, like an addUser-Button.
Hope this was clear enough - just try and look into those suggestions to find your way ;)

java3d Picking objects

I am building a java3d GUI, using which users can create custom scene graphs, without needing to know the code, i want to pick specific boxes using mouse, and i want to be able to move them around.. so for that i need picking..
There are say, 2 boxes and 2 spheres in my scenegraph. I just want to pick one of them and know which one was picked. I can find out what type of object was clicked, like if i click on specific sphere, or box, i can find that out, but i dont know how can i find out which object was it, so i can process it.
Could anyone suggest me a solution to the problem? All I want is to know
which object was picked. That's all.
Ok, for now the problem has been solved.
Whenever u add a box or a sphere into scene graph, you need to add custom userData to these object.
e.g. if u are adding a Box object, then
boxOb.setUserData("box1"); //this can be any datatype
when you retrieve data from picking, you just call getUserData() method on getNode() method.
BAMM!! you will get the custom datatype which u set, you can process this further as per your application.
Cheers :)

QInputDialog like thing in Cocoa/Xcode?

I'm fairly new to Xcode and Cocoa/Objective-C and I'm trying to implement something as simple as a QInputDialog that can be re-used throughout the program - with a unique message to the user each time it is launched and return a string as a result.
I have searched the web and found multiple methods but nothing seems to be quite clear or concise - well enough for me to understand anyway.
Is there anything out there as simple as:
Create/Launch a window from a method with a new message label to the user in the form of a string.
Has an NSTextField to receive the users input.
Close the window and return the string from the text field (if accepted) to the calling method.
??
Modal prompts for input are very un-Mac-like. It's like smashing the user's face in with a cricket bat and yelling “TELL ME THE ANSWER NOW!”
The correct solution is to put your text field into a non-modal window, so that the value is already ready when the user invokes whatever action needs the value. Beep and show the “hey, you forgot this” icon if the user hasn't filled in the field and you need a value there. If the field is not relevant in the window the user starts the action from, or if you're going to need several facts as input, then show another window, non-modally, with its own window controller, to take in all the input you'll need for the action.
A separate, non-modal window will also enable the user to fill out and/or perform multiple such actions in parallel.
If you must demand the value with a modal dialog, you can and should make it a sheet, but you'll still need to build the panel and its contents from scratch in IB or code.
See also the Sheet Programming Guide and the chapter on windows in the Human Interface Guidelines.