Posted: Wed Jul 25, 2007 5:48 pm Post subject: [Delphi]PasteFromClipboard - is this possible? and other Q's
is this possible to paste it on mspaint instead of my form?
and how? O_o
thx
edit: seems like there is no textout alignments, so ill try using another way to center the text O_o
can i do like:
if TEdit.TextLength = 1 then
if 2 then...
if 3....
untill 12 (copy paste isnt a problem O_o)
i mean comparing the number of digits to x if true then do...
sorry for all the questions and thx
edit2: ummm if any1 knows what about the rest of the questions answer pl0x
umm and is there a way to set a min length? O_o
Last edited by Symbol on Wed Jul 25, 2007 8:14 pm; edited 1 time in total
Posted: Sun Jul 29, 2007 2:07 am Post subject: Re: [Delphi]PasteFromClipboard - is this possible? and other
Symbol wrote:
can i do like:
if TEdit.TextLength = 1 then
if 2 then...
if 3....
untill 12 (copy paste isnt a problem O_o)
i mean comparing the number of digits to x if true then do...
you should use case
Code:
case TEdit.TextLength of
0:{do somthing}//if equal to 0
1:{do somthing}//if equal to 1
2:{do somthing}//if equal to 2
Symbol wrote:
umm and is there a way to set a min length? O_o
if TEdit.TextLength > min length then
{do something}
i already done it by myself...
now the pastefromclipboard...
how do i use that?
its pasting on my form or just pasting where it is (if its like in mspaint will it paste it there or at my form?)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum