|
-
Dec 29th, 2005, 09:45 AM
#1
Thread Starter
Member
inputbox problem
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
-
Jan 2nd, 2006, 12:33 PM
#2
Re: inputbox problem
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.
My usual boring signature: Nothing
 
-
Jan 4th, 2006, 08:22 AM
#3
Thread Starter
Member
Re: inputbox problem
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
-
Jan 4th, 2006, 04:49 PM
#4
Re: inputbox problem
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 *.
My usual boring signature: Nothing
 
-
Jan 5th, 2006, 04:42 AM
#5
Fanatic Member
Re: inputbox problem
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
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Jan 5th, 2006, 10:49 AM
#6
Re: inputbox problem
 Originally Posted by Strider
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.
My usual boring signature: Nothing
 
-
Jan 5th, 2006, 10:54 AM
#7
Fanatic Member
Re: inputbox problem
haha.... we'll forgive ya!!!
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|