Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Anybody know delphi/pascal?

Featured Replies

Basically I have some pictures in a folder, which is in the folder with the rest of the programs files.

 

 

 

\PSR(I have all the files for the program here)\Pictures\rock up.bmp

 

" "\paper up.bmp

 

" "\scissors up.bmp

 

" " \rock down.bmp etc

 

 

 

I have

 

If paperradiobtn.Checked = True then

 

P_Choice := 1;

 

 

 

(here I want to load a picture in the image called playerpic)

 

 

 

I have been searching for a while and I can't figure out how to do this.

 

 

 

All I found was

 

playerpic.Picture.LoadFromFile(Pictures\paper up.bmp);

 

 

 

Which doesn't compile, and I don't know if it's the right method anyway.

Are you putting the:

 

 

 

Pictures\paper up.bmp

 

 

 

part of

 

 

 

playerpic.Picture.LoadFromFile(Pictures\paper up.bmp); 

 

 

 

in quotes?

 

 

 

It should be:

 

 

 

playerpic.Picture.LoadFromFile('Pictures\paper up.bmp');



{ ... or (if the first doesn't work?)... }



playerpic.Picture.LoadFromFile("Pictures\paper up.bmp"); 

 

 

 

I don't remember much Pascal, but I think that'll fix your problem.

ozXHe7P.png

  • Author

playerpic.Picture.LoadFromFile('Pictures\paper up.bmp');

Worked.

 

 

 

I'm almost certain that was one of the first things I tried :-k

 

 

 

Anyway thanks for your help. :)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.