Recent Posts

Pages: [1] 2 3
1
Discussions about Logic Basic / Re: Alguém teria um exemplo de banco de dados?
« Last post by eleusmario on February 15, 2018, 05:42:56 AM »
See the Logic Basic example programs folder (C: \ Logic Basic Code), see the Customers and Rep Folders. Also see the sample program for download at http://www.logicbasic.net/download/AccessDatebook.zip.
2
Discussions about Logic Basic / Alguém teria um exemplo de banco de dados?
« Last post by lb fan on January 25, 2018, 11:42:17 AM »
Olá,
Gostaria de ver um exemplo funcional de como acessar um banco de dados em access e nativo do lb.
desde já agradeço
3
News and announcements / In progress the ebook "Logic Basic - The Bible"
« Last post by eleusmario on December 15, 2017, 04:31:10 AM »
Soon the ebook titled "Logic Basic - The Bible" will be completed, explaining in detail all aspects of the language, teaching the development of practical applications, and including complete documentation of all commands and functions.
4
Discussions about Logic Basic / Re: Images and Pictures
« Last post by eleusmario on December 07, 2017, 05:32:53 AM »
Use the Resize method to decrease or enlarge the image to any dimension, for example:

Image Test, "Test.jpg"
Image Test.Lin = 0
Image Test.Col = 0
Image Test.Height = 15
Image Test.Width = 30
Image Test.Resize, 15, 30

This method does not appear in LB Help, but I will update it soon.

5
Discussions about Logic Basic / Images and Pictures
« Last post by Randal on December 06, 2017, 12:29:00 PM »
I'm having a hard time understanding how to make these work. My computer resolution is 3840x2160 and I have an image that is 770x1140. One would think that it would fit easily but it doesn't. I've set the window size to 77x102 which fills up the screen so I take it these are based on a mono font character rather than pixels.

I'm trying an experiment where there is a database of names and addresses and a picture of the person scaled to fit in the upper right corner and can't seem to make anything work. The image (no matter what it is) takes up the majority of the desktop.

What could I be doing wrong?
6
Discussions about Logic Basic / Re: Why Doesn't This Work?
« Last post by Randal on December 04, 2017, 09:03:55 AM »
You are zipping through these quickly. Thanks. :)
7
Discussions about Logic Basic / Re: Why Doesn't This Work?
« Last post by eleusmario on December 01, 2017, 04:55:40 AM »
It's a bug. I'll make the correction then I'll announce here. But if you put a button before testing the value, the program works correctly:

Currency txtOwed, 3, 50, 10
Currency txtOwed.Value = -3850.00
Currency txtOwed.places = 2

Button OK, 5, 50
Wait ClickButton

If txtOwed.Value < 0
  Currency txtOwed.ForeColor = Red
Else
  Currency txtOwed.ForeColor = DarkGreen
EndIf
8
Discussions about Logic Basic / Re: Mask
« Last post by eleusmario on December 01, 2017, 04:35:33 AM »
Thanks for the suggestions, I have already noted them in my agenda and will soon be providing these changes in the component.
9
Apps for study and entertainment / Re: Moves a point linearly in any direction
« Last post by eleusmario on December 01, 2017, 04:30:05 AM »
Hello Randal,

Yes, I plan to create a complete game in Logic Basic, perhaps with the collaboration of other LB users, I will soon be posting the code in this section.
10
Discussions about Logic Basic / Why Doesn't This Work?
« Last post by Randal on November 30, 2017, 08:27:52 PM »
Currency txtOwed, 3, 50, 10
Currency txtOwed.Value = -3850.00
Currency txtOwed.places = 2

If txtOwed.Value < 0
  Currency txtOwed.ForeColor = Red
Else
  Currency txtOwed.ForeColor = DarkGreen
EndIf

It stays DarkGreen but if I set it to zero it turns red. Also "places" does not highlight in the IDE.
Pages: [1] 2 3