Search found 46 matches

by Nexus100
Thu Dec 22, 2011 10:00 am
Forum: Coding Questions
Topic: Line Segment Intersection
Replies: 3
Views: 1382

Re: Line Segment Intersection [SOLVED]

Hi Ideas Vacuum

Thank you very very very very much...seems to work like a dream!

I have been trying variations of this with very random results....now it provides regular results!

Have a very merry Welsh Xmas!

Jason
:P :P
by Nexus100
Wed Dec 21, 2011 10:42 pm
Forum: Coding Questions
Topic: Line Segment Intersection
Replies: 3
Views: 1382

Line Segment Intersection

Hi People that can do maths

Please help...

I need an line segment intersection routine, I have tried several and they either fail all the time, fail part of the time (ie. one line is vertical or horizontal) but generally do not succeed?

I am writing an application that allows the user to draw 2D ...
by Nexus100
Sat Oct 08, 2011 8:53 pm
Forum: Coding Questions
Topic: [SOLVED] String Gadget Text Select Not Working
Replies: 1
Views: 942

[SOLVED] String Gadget Text Select Not Working

Will only work if I put my code in the right place...Nexus = Doofus (I am tired?)
Hi All

thanks in advance! Have trawled forums and found how to select text but it is not working? Can anyone point me in the right direction:


UserName = GetGadgetText(#LoginUserNameString)
PassWord ...
by Nexus100
Sat Oct 08, 2011 8:04 pm
Forum: Coding Questions
Topic: How to use Tab to go to next Gadget?
Replies: 4
Views: 1219

How to use Tab to go to next Gadget?

Hi Digital Maniacs

firstly as usual many thanks in advance!

Can anyone help me with this: I want the following;
If user types info into a text gadget and then presses TAB I want focus to change to the next gadget.

This seems to work from text gadget to text gadget, but on the last text gadget the ...
by Nexus100
Fri Sep 16, 2011 9:43 pm
Forum: Tricks 'n' Tips
Topic: Variable Naming - NOT BORING
Replies: 9
Views: 3694

Variable Naming - NOT BORING

Hi all

just thought I would give you a little insight into the exiting world of variables!!!! :shock:

Firstly ensure you use:
Enable Explicit

This forces you to declare variables before use...pain in the rear?? Only in the short term!

Anyone reading this at some point has read some boring text ...
by Nexus100
Fri Aug 12, 2011 11:43 am
Forum: Coding Questions
Topic: Many windows in memory?
Replies: 2
Views: 981

Many windows in memory?

Hi Coders, Thanks in advance :wink:

My application has quite a few windows that are used which is all fine. I was just wondering which is the best way to 'use' them.

Is it better to create all the windows in one go (as invisible) and then just show them as required, or when needed, create them ...
by Nexus100
Fri Aug 12, 2011 11:33 am
Forum: Coding Questions
Topic: MySql-Controlling Users
Replies: 3
Views: 1056

Re: MySql-Controlling Users

Thanks Citystate - most helpful!
by Nexus100
Thu Aug 11, 2011 9:28 pm
Forum: Coding Questions
Topic: MySql-Controlling Users
Replies: 3
Views: 1056

Re: MySql-Controlling Users

alphxxxxx@purebasic.com or webxxxxx@purebasic.com I guess it is similar to what you guys have going on here with PB download and user account management...Any help much appreciated!

added by Fred please don't post emails, bots will harvest them
by Nexus100
Thu Aug 11, 2011 9:26 pm
Forum: Coding Questions
Topic: MySql-Controlling Users
Replies: 3
Views: 1056

MySql-Controlling Users

Hi All, many thanks in advance :mrgreen:

I am writing an application for the construction industry which will allow users to create 'Projects' -the app will be FREE to download providing the USER registers the following details which will be stored in a table <TABLE_USER_DETAILS>. When they submit ...
by Nexus100
Tue Aug 09, 2011 8:17 pm
Forum: Coding Questions
Topic: Linked List Detection
Replies: 1
Views: 770

Linked List Detection

Hi All & Thanks in advance!

I have an application that uses structures which contain linked lists. When the application is first started I want to Zero the structure data and the linked lists.

However it is possible that if this is the first time the procedure to zero the structure the lists have ...
by Nexus100
Tue Aug 02, 2011 11:37 am
Forum: Coding Questions
Topic: Splash Screen Imaging NOT Showing? (SOLVED)
Replies: 1
Views: 823

Splash Screen Imaging NOT Showing? (SOLVED)

Hi All and thanks in advance!

Writing an application and want to add a splash screen. I have two issues:

1) I want the Splash Window to remain Focused and On Top so it stays visible no matter what

2) I have an image on the screen and it is not showing and I am not sure why?


Procedure ...
by Nexus100
Thu Jul 28, 2011 8:09 pm
Forum: Linux
Topic: Using PureBasic (32bit) on 64bit Linux
Replies: 12
Views: 58829

Re: Using PureBasic (32bit) on 64bit Linux

Hi All

Just installed PB on UBuntu 32bit on my netbook.

Very new to linux so was a bit of a task but it almost works...however it crashes on the init3d() command...

I assume this is an OpenGL issue but I do not know what other package I need to install??

any help much appreciated!
by Nexus100
Tue Jul 26, 2011 5:09 pm
Forum: Coding Questions
Topic: Size Gadgets with a window {SORT Of SOLVED}
Replies: 4
Views: 1688

Re: Size Gadgets with a window {SORT Of SOLVED}

Darren

Thanks for that...with regard to the desktop, I am coding on a NetBook and am fully aware that the desktop is smaller than that of a desk top of full laptop.

So i needed a way (using your code and gadget resize) to ensure that all fits onto the working area of the Desktop.

Thanks anyway!
by Nexus100
Tue Jul 26, 2011 2:31 pm
Forum: Coding Questions
Topic: Size Gadgets with a window {SORT Of SOLVED}
Replies: 4
Views: 1688

Re: Size Gadgets with a window {SORT Of SOLVED}

Just a little helper I found (Windows Only)

Code: Select all

RECT.rect
SystemParametersInfo_(#SPI_GETWORKAREA,0,@rect,0) 
debug rect\left
debug rect\right
debug rect\top
debug rect\bottom
This will give you the desktop "WORK" area - the area not hidden by the taskbar etc.

:mrgreen:
by Nexus100
Tue Jul 26, 2011 1:18 pm
Forum: Coding Questions
Topic: Size Gadgets with a window {SORT Of SOLVED}
Replies: 4
Views: 1688

Size Gadgets with a window {SORT Of SOLVED}

Hi All

Thanks in advance!!!

I would like to know how to scale a gadget with a window.

That way if my app is run on different size desktops it will look correct...hopefully!!!

Also, is it possible to have shaped skinned buttons to make my app look a bit sexier!!

Cheers