Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Brian Reynolds

Pages: [1] 2
1
EZGUI 5 support forum / Re: Autosave
« on: July 26, 2024, 12:35:54 am »
Thank you Chris. My eyesight has been failing but I finally found your help.
Much appreciated.
Brian Reynolds.

2
EZGUI 5 support forum / Autosave
« on: June 04, 2024, 03:17:13 am »
Somehow I have lost Autosave when compiling EZGUI code and I cannot find a way to restore it.
Could some kind member give me some advice how to recover it?

3
EZGUI 5 support forum / Re: No StatusBar
« on: January 13, 2023, 09:03:50 pm »
Chris,
I am using the default form and the properties CK.
The following is my StatusBar code:
Code: [Select]
   EZ_StatusBar %FORM1_STATUSBAR, "Left", "4"
   EZ_SetSBParts "Form1", %FORM1_STATUSBAR, 4, "25|25|25|25|"
   EZ_SetSBText "Form1", %FORM1_STATUSBAR, 1, "Left", "P"
   EZ_SetSBText "Form1", %FORM1_STATUSBAR, 2, "Right", "P"
   EZ_SetSBText "Form1", %FORM1_STATUSBAR, 3, "Top", "P"
   EZ_SetSBText "Form1", %FORM1_STATUSBAR, 4, "Foot", "P"
I am using the StatusBar as an easy way to display information tom the user.

4
EZGUI 5 support forum / No StatusBar
« on: January 13, 2023, 12:48:16 am »
For the first time since using Windows 11 I have uses a StatusBar in the Designer.
It appears in the code when compiled but does not appear on the screen when the code is run.
Has this been experienced by anyone?

5
EZGUI 5 support forum / Re: Moving Sprites
« on: December 23, 2022, 08:56:37 pm »
I apologise for posting this absurd question on something I have done many times some years ago and had simply forgotten.

I do, however, have a real problem with moving Sprites as I don't seem to be able to use IF ---- THEN before moving a sprite. This code doesn't work but if I REM out the IF THEN and END IF  lines it works okay. The trouble is, that without the IF ---- THEN it will also move other sprites.

Code: [Select]
         IF Sname$="LeftSP" OR Sname$="RiteSP" THEN
            EZ_MoveSprites Sname$, -1, 0, 1  ' Move Left
         END IF

I have also tried moving the code to a subroutine but it still doesn't work with the IF ---- THEN but works without it.

Any suggestions?


6
EZGUI 5 support forum / Moving Sprites
« on: December 22, 2022, 02:16:19 am »
I am trying to move a sprite continuously by holding down one of the four Arrow keys but I can only get the sprite to move one pixel at a time.
Could someone offer a suggestion on how to do it.
I'm sure I did this a few years ago but my memory loss keeps increasing with my age.
Brian Reynolds.

7
EZGUI 5 support forum / Re: Sprite Problem
« on: December 17, 2022, 02:18:43 am »
Thank you for your explanation, Chris.
From that as well as reading other "GetSprite" info, I take it there is no way of clicking on a Sprite and retrieving its name or X or Y position.
 

8
EZGUI 5 support forum / Sprite Problem
« on: December 16, 2022, 02:11:37 am »
I've struck a problem with Sprites. Using the following code, I get nothing for the Sprite name and a zero of each of the X& and Y&.
I am running Windows 11.

      CASE %EZ_Click
         a$ = EZ_TestSpriteClick("Form1", %Form1_Canvas1, X&, Y&)
         MSGBOX a$ +STR$(X&)+STR$(Y& )

Can you offer help?

9
EZGUI 5 support forum / Re: Strange event
« on: November 18, 2022, 12:32:24 am »
I have managed to fix this and many other strange events I was experiencing.
I bought a new computer running Windows 11 -- Much faster, nothing strange.
Thanks to all who offered their support.

10
EZGUI 5 support forum / Re: Strange event
« on: July 06, 2022, 07:14:26 pm »
Thank you for your reply, Frank.
I've reinstalled PB10 for the umpteenth time and it's running okay at present.
The next time I have a problem I shall carry out your recommendation.
I am running Reimage (Restoro) as a Virus checking programme.
Kind regards,
Brian Reynolds.

11
EZGUI 5 support forum / Re: Strange event
« on: June 19, 2022, 09:32:41 pm »
I am having trouble reinstalling my PBWin10. I am running Windows 10. When I compile code, the result does not appear on the screen, even though I get the message:
Successfully created "C:\SheetMusic\SheetMusic.exe".
If I attempt to run the "exe" file, it doesn't work either.
I have been using Windows 10 and PBWin10 for a few years without problems.

I have gone to Compatability and the list offers the following choices:

Windows 95
Windows 98/ Windows Me
Windows XP (Servide packs 2 and 3)
Windows Vista
Windows Vista (Service Packs 1 and 2)
Windows 7
Windows 8

There is no Windows 10 in the list.

Can you suggest a setting? It doesn't work on any of the above.

I'm beginning to wonder if one of the recent updates I have had from Microsoft is causing the problem.

NB: I have also posted this on the PB site.

12
EZGUI 5 support forum / EZ_FListBox
« on: June 03, 2022, 08:51:09 pm »
I am having problems with EZ_FListBox.
I note in Codeclip the FListBox is entered as:
Code: [Select]
    EZ_FListBox %FORM1_LISTBOX1, 7, 2, 30, 17, "", "STV"
When I enter a FListBox in the designer, it produced:
Code: [Select]
    EZ_FListBox %FORM1_FLISTBOX1, 7, 2, 30, 17, "", "STV"
when it is compiled.
Is there any reason for the difference?

13
EZGUI 5 support forum / Re: EZ_GetImageSize
« on: May 29, 2022, 06:21:32 pm »
That's odd. I got the following clip from your website a fair while ago but its not the complete info that was on the site. I can't find the complete info now. It was for loading files other than .BMP, such as .JPG, .PNG, etc. I used it a lot:

EZ_GetImageSize F$, W&, H&
Reads an image file and returns the size (width and height) in pixels, without loading.
F$ is the filename (full path) of any Image file windows supports (ie. JPeg, PNG,
GIF)
W& is a long variable to return the width in pixels
H& is a long variable to return the height in pixels
P$ = EZ_LoadImage (F$, W&, H&, QFlag&)
Loads an image file.
F$ is the filename (full path) of any Image file windows supports (ie. JPeg, PNG,
GIF)
W& is the requested width of the image (in pixels)
H& is the requested height of the image (in pixels)
QFlag& if set to non-zero (1) requests best quality possible
If W& and H& are set to -1 (or even zero) then the routine will use the actual size of
the image on file.
The return value (P$) is a valid EZGUI Picture string similiar to the return value of
EZ_LoadPicture.

14
EZGUI 5 support forum / EZ_GetImageSize
« on: May 29, 2022, 12:17:31 am »
I have had to reinstall EZGUI50pro and I can't find any details on the use of EZ_GetImageSize.
This may be an update after I bought EZGUI50pro.
Help required.

15
EZGUI 5 support forum / Strange event
« on: May 26, 2022, 07:22:42 pm »
I have come across something very weird when compiling code.
When I click on the compile button it takes a fair while to actually do anything and when it does it goes to the PowerBasic Home Page.
This even happens when I try to compile one of your Codeclips.
I've never had this happen before and I can't figure out why it happens.
Can you offer a suggestioon to fix it?

Pages: [1] 2