Search found 23 matches

by MikeGreen99
Sun Dec 21, 2025 7:05 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Hey TI-994A: Works Like A Charm :D !!

Hey mk-soft: I realize now that I do not have to initialize any variables - my bad.

You all have been a SUPER BIG help. So much to learn. It would have taken me forever to find statements like "CreateRegularExpression", etc.

How do I mark this post as Solved ...
by MikeGreen99
Sat Dec 20, 2025 10:26 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Hey TI-994A

I have been playing with your Xmas Gift code and learning a lot.

I want to be able to write a screenful of data to a file, and then continue on to the next screenful of data, etc., until the Terminate button is hit.

After the Submit Button is successfully pressed, I added code to ...
by MikeGreen99
Fri Dec 19, 2025 6:55 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Thank you ALL and have a Happy Holiday Season :D .
M......
by MikeGreen99
Thu Dec 18, 2025 6:42 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Hi.

Sorry, my post was misleading.

I meant in the context of inputting/validating Form Data. For example, from this thread, I have learnt how to validate String Input that requires specific characters, and whose length = 3 -->20 characters:

Procedure validateAlphaInput(alphaInput.s)
match ...
by MikeGreen99
Wed Dec 17, 2025 10:31 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Hey guys.

I'm slowly learning.

1. For whatever reason, Tooltips do not work on my Form ??

2. What would the Source Code Procedure look like to validate an Integer in the range of say -750 ----> +34567 ?

3. What would the Source Code Procedure look like to validate an entered Date in the form of ...
by MikeGreen99
Tue Dec 16, 2025 8:35 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Hi TI-994A.

Much better. If I enter an Invalid Customer Number and click to the next field, the erroneous Customer Number is highlighted - no error message is displayed. I have no problem with that.

However, for some reason the Tooltips are not being displayed. I would think if I hover my mouse ...
by MikeGreen99
Tue Dec 16, 2025 8:20 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Hi spikey.

I'm sort of confused. This code seems more comprehensive as it better refines the input - but isn't this the .pbf Form, and will it not be
automatically re-generated by the Form Designer ?

Thanks,
M...
by MikeGreen99
Tue Dec 16, 2025 7:41 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

Re: Inputting/Validating Form Data

Totally Awesome TI-994A » :D !

Works like a charm. The only thing that doesn't work is:
Case #PB_EventType_LostFocus

If I enter a Customer Number 2h45 and click to another field, I would have thought it would flag the error, and make me re-enter the Field.
It does not do that - it will allow me ...
by MikeGreen99
Mon Dec 15, 2025 9:20 pm
Forum: Coding Questions
Topic: SOLVED Inputting/Validating Form Data
Replies: 20
Views: 1340

SOLVED Inputting/Validating Form Data

Ubuntu Unity 24.04 PureBasic 6.21

Hi.

I used the PureBasic built in Form Designer to set up a simple 3 gadget Form; Customer Number (CustNum), Customer Name (CustName), and an Update Button (Button_Update).

I'm trying to find sample code that will demonstrate to me the correct way to input and ...
by MikeGreen99
Mon Dec 15, 2025 6:27 pm
Forum: The PureBasic Form Designer
Topic: Variable Viewer Not Displaying Values
Replies: 8
Views: 731

Re: Variable Viewer Not Displaying Values

Thanks mk-soft.

With the 'CallDebugger' statement in my program, variable Names & Values are displayed :D .

Is the 'CallDebugger' statement always required, or have I not set the correct parameters in Preferences Debugger ?

I'm really liking PB. More and more, I'm confident that it will handle ...
by MikeGreen99
Sat Dec 13, 2025 6:24 pm
Forum: The PureBasic Form Designer
Topic: Variable Viewer Not Displaying Values
Replies: 8
Views: 731

Re: Variable Viewer Not Displaying Values

Hi.

".....so there's obviously more to it than he's telling us."

I'm not sure what more I can tell you. I tried to attach a pic but I can't figure out how to do that - that way you can see my Variable Viewer box with the Variable Names on the LHS, and nothing on the RHS.

I gather the Free ...
by MikeGreen99
Fri Dec 12, 2025 9:47 pm
Forum: The PureBasic Form Designer
Topic: Variable Viewer Not Displaying Values
Replies: 8
Views: 731

Variable Viewer Not Displaying Values

Ubuntu Unity 24.04 PureBasic 6.21 Free

Hi.

I'm 'playing' with the free version of PB to decide if it can handle my next project (convert quickbasic programs -->> PureBasic).

I wrote a simple program in the IDE and I have the Variable Viewer displayed.


The Viewer shows the Variable Names 'A, B ...
by MikeGreen99
Mon Dec 08, 2025 10:05 pm
Forum: The PureBasic Form Designer
Topic: Not a function, Array, List, Map Or Macro
Replies: 12
Views: 1356

Re: Not a function, Array, List, Map Or Macro

I got it working :D . After modding .bashrc I forgot to boot.

Sorry. All good and thanks,
M...
by MikeGreen99
Mon Dec 08, 2025 9:31 pm
Forum: The PureBasic Form Designer
Topic: Not a function, Array, List, Map Or Macro
Replies: 12
Views: 1356

Re: Not a function, Array, List, Map Or Macro

I've gotten a little farther on not being able to run a PureBasic program outside of the IDE in ubuntu unity 24.04.

PureBasic _Demo3 installation is here:
/media/mg/DProgs/PureBasic_Demo3/purebasic_demo

I added the following to .bashrc:
# Add PureBasic Compiler Path to what is already there ...
by MikeGreen99
Mon Dec 08, 2025 6:50 pm
Forum: The PureBasic Form Designer
Topic: Not a function, Array, List, Map Or Macro
Replies: 12
Views: 1356

Re: Not a function, Array, List, Map Or Macro

Hi.

I have added PureBasic to the path variable in .bashrc.

I'm running ubuntu unity 24.04.

“ .....you'd usually have to export the variable in the profile or bashrc file. ”

I don't understand this part. What "variable" and what would the format be to add this "variable" to the .bashrc file ...