Jump to content
uniGUI Discussion Forums

Transform uniDBEdit to upperCase


Recommended Posts

Hello,

Throughout my project, Edits and DBEdits have the property CHARCASE as ecNORMAL.

It has some form, command or script to activate at once, throughout the project, so that the Edits are UpperCase, LowerCase or Normal (at runtime).

 

Thank you

Link to post
Share on other sites

Hi,

 

Maybe you wanted like this?

For example for UniDBEdits:

procedure TMainForm.UniButton1Click(Sender: TObject);
var
  I: Integer;
begin
  for I := 0 to ComponentCount - 1 do
    if Components[I] is TUniDBEdit then
      TUniDBEdit(Components[I]).CharCase := ecUpperCase; //
end;

Best regards,

  • Upvote 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...