Forum: Java Aug 19th, 2009 |
| Replies: 1 Views: 141 Ive know started up programming again.
My last try was in delphi where my best project was a security screensaver.
Ive know decided to start up programming again and my choice this time was... |
Forum: Pascal and Delphi Dec 16th, 2008 |
| Replies: 5 Views: 894 on one of the forums i posted a person created these wonderful line of code
You need to check the value of i and your items.count...
begin
if YourListView.Items.Count > 0 then begin
... |
Forum: Pascal and Delphi Dec 16th, 2008 |
| Replies: 5 Views: 894 if i = Listview1.Items.Count -1 then
begin
if checkbox1.Checked = true then
begin
i := 0;
item := listview1.Items[i];
... |
Forum: Pascal and Delphi Dec 15th, 2008 |
| Replies: 5 Views: 894 here i go whit a new problem and yet the same... i think.
on one of the forums i posted my last question in (im lost) the answer was that i could set i to be 0 from start in form load procedure. i... |
Forum: Pascal and Delphi Dec 15th, 2008 |
| Replies: 3 Views: 625 i listened to what u said and tried to set i:=0 in the forms load procedure.
and now it works again.. weird how it was possible for it to work before and then suddenly it needs to get a value from... |
Forum: Pascal and Delphi Dec 14th, 2008 |
| Replies: 3 Views: 625 some code ive been using whit out any problems suddenly wont work..
Whats the really weird parts is when its a random number it got no problems lodaing the image.
But when its
i := i... |
Forum: Pascal and Delphi Dec 13th, 2008 |
| Replies: 2 Views: 1,860 i found the answer elsewhere
here it is...
imageheightdiff := Trunc(form2.Image1.Picture.Height)- Trunc(screen.Height);
here you don't have to use trunc function as Height is an integer... |
Forum: Pascal and Delphi Dec 13th, 2008 |
| Replies: 2 Views: 1,860 Im trying to make a screensaver whit the option to support single and multiple images. this is the code for single images where im trying to make it fit large images to screen but no matter what of... |
Forum: Pascal and Delphi Dec 11th, 2008 |
| Replies: 3 Views: 631 I would use my time on making the question more understandable if not ive found the answer elsewhere...
here it is.
I think you should declare starttime and lasttime outside of your procedure... |
Forum: Pascal and Delphi Dec 10th, 2008 |
| Replies: 3 Views: 631 Ive made a Security Screensaver whit the options to show random pictures. and it show the start time, time went and then im trying to get it to show time left by minus lasttime whit currenttime
It... |
Forum: Pascal and Delphi Dec 3rd, 2008 |
| Replies: 5 Views: 640 thank you for the answer btw.
I appreciated the time u used to see where the problem may have been.
Best regards,
darkyre |
Forum: Pascal and Delphi Dec 2nd, 2008 |
| Replies: 5 Views: 1,235 sry. but ive allredy doing that when im puplishing ht e product and that doesnt work.
there most be some way to make my program run as a screensaver... i know there must be whit all these... |
Forum: Pascal and Delphi Dec 2nd, 2008 |
| Replies: 5 Views: 1,235 i have made a screensaver and what i want is to disable alt-tab, ctrl-esc, the windows button (the one between ctrl and alt i mean)
ive tryed using many different versions of
... |
Forum: Pascal and Delphi Dec 1st, 2008 |
| Replies: 5 Views: 640 i found the answer elsewhere
for i := 0 to Listbox.Items.Count - 1 do
is the corrected problem |
Forum: Pascal and Delphi Dec 1st, 2008 |
| Replies: 5 Views: 640 Hello, i have this code who ive been using whitout any problems. and then suddenly at says acces violation at address 004b84 in module
"SecurityScreensaver.exe" when i trie to save a tstringlist... |
Forum: Pascal and Delphi Nov 21st, 2008 |
| Replies: 2 Views: 561 I found a solution elsewhere my code now looks like:
for n:=1 to ListView1.Items.Count do begin
randomnr := random(listview1.Items.Count -1);
if... |
Forum: Pascal and Delphi Nov 19th, 2008 |
| Replies: 2 Views: 561 I have made this application where theres a tlistview whit image destinations in it.
Then i got a timer to shift the picture.
then ive addet a random function to shuffle through the picture.
... |