Jump to content

how to change "input field" code in dialogue in software backhand?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
dilawar

dilawar

    Newbie

  • Members
  • Pip
  • 2 posts
I am not a programmer at all, but I use to edit softwares with help of some softwares and ofcourse I know some of codings.

My question is that:
I want to edit a Dialogue code for a "input field" in software backhand, which urges user to enter his name.
I want that "input field" to be default for user and specify default name.that user may not able to edit/change that field.

how can I do this?
if you think you can explain it

Edited by Alexander, 10 March 2011 - 03:02 PM.
Removed email.


#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
Are you talking about HTML input fields? You can disable the field and set a default like this:

<input type="input" name="input1" value="default value for input" DISABLED>

The keyword being DISABLED before the ending of the tag >.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
dilawar

dilawar

    Newbie

  • Members
  • Pip
  • 2 posts

Alexander said:

Are you talking about HTML input fields? You can disable the field and set a default like this:

<input type="input" name="input1" value="default value for input" DISABLED>

The keyword being DISABLED before the ending of the tag >.

thank you dear,
But I said about software NOT web!
currently I have below code through which the user gives input to proceed.

CONTROL "", 1005, EDIT, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP, 77, 44, 65, 12 , 0x00020000

I want that a default field to be placed, that user may not able to enter value and it must have a default value in that box.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users