Click to See Complete Forum and Search --> : inputbox problem
akyolfatih
Dec 29th, 2005, 08:45 AM
hi,
I am having problem with inputbox .
i called inputbox in button and then i push the button
inputbox appear one second
inputbox and program closed.
what is problem maybe forms properties i dont now
thanks in advance.
fatih
Shaggy Hiker
Jan 2nd, 2006, 11:33 AM
You'll have to post some code around the InputBox usage. I have used the InputBox once or twice in PDA's, though I feel it really sucks, but not in this way. I would guess that it has something to do with how you are handling the return value from the InputBox call, but I'd have to see some code.
On the other hand, InputBox is such a turd in the CF because it is so inflexible in color and style, and seems to have an issue with the amount of text being shown. You might consider making your own form to do the same thing, just for that reason.
akyolfatih
Jan 4th, 2006, 07:22 AM
hi,
shaggy hiker
i have used the inputbox like vb6, i called input box in button on my main form
code was not give syntax error
its worked but i push the button inputbox and main form are closed.
i want input password in inputbox and i call other form
and my other question how can i input like ****
thanks all
Shaggy Hiker
Jan 4th, 2006, 03:49 PM
You REALLY ought to consider just making a form to do that. The functionality of the CF is somewhat less than the full .NET, so things like the ***** probably can't be done at all in the CF.
I hate using more than one form in the CF, but if you are ok with using them, then make a form that just has a textbox and the buttons you want on it. That will look better than the InputBox (which is poorly done in my opinion), and will allow you to do things like intercept the entries into the textbox to replace them with *.
Strider
Jan 5th, 2006, 03:42 AM
Intercept the entries into the textbox....
Shaggy you must be forgetting about the Password char property of a textbox in CF....
PasswordChar = * set this when you add your textbox to the form...
I agree wit Shaggy here, inputbox in CF is absolutley pathetic, show you are farm better of to have a form and do a showdialog with it
Shaggy Hiker
Jan 5th, 2006, 09:49 AM
Intercept the entries into the textbox....
Shaggy you must be forgetting about the Password char property of a textbox in CF....
PasswordChar = * set this when you add your textbox to the form...
I agree wit Shaggy here, inputbox in CF is absolutley pathetic, show you are farm better of to have a form and do a showdialog with it
Not so much that I forgot it as that I repressed it. I hate the InputBox.
Actually, I thought that property was not included in the CF, so I stand corrected.
Strider
Jan 5th, 2006, 09:54 AM
haha.... we'll forgive ya!!!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.