PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 ... 10
 on: May 18, 2019, 02:05:13 PM 
Started by Petrus Vorster - Last post by Petrus Vorster
Thanks Marc.
That is indeed the easier way.

I can think up strange ideas sometimes....


 on: May 18, 2019, 01:59:33 PM 
Started by Petrus Vorster - Last post by Marc Pons
hi Petrus

i think it would be better to have a normal list with names + what details you want
and by selecting the line your are interested to open a window where you could have more detailed info and picture...

 on: May 18, 2019, 01:33:47 PM 
Started by Petrus Vorster - Last post by Petrus Vorster
Hi All

I want to make something like a listview, but with a picture of an employee say on the left, and more details on the right.
For instance, If i transfer Bank Cards to a Field Worker, i want to be able to just scroll through the list and see his face and which cards he has at the moment.
The cards are the easy part, they have serial numbers, but that images in the list throws me for a loop)

I assume by the reading here on the site, there should be limitations to the images, the sizes and DPi scaling.
Do you think that this would be the best way, or what other ideas would you have to create a list-type of output with an image?

Your thoughts are appreciated.


 on: May 13, 2019, 02:55:38 PM 
Started by Petrus Vorster - Last post by Petrus Vorster
Thanks Ian.

I will look for a few examples here on the forum tonight.

Thanks for the file.


 on: May 13, 2019, 12:38:28 AM 
Started by Petrus Vorster - Last post by Ian Vincent
Petrus, See attached (zipped) include.
If you open it and scroll all the way to the end, you will find an example of it's usage.


 on: May 12, 2019, 03:50:19 PM 
Started by Petrus Vorster - Last post by Petrus Vorster
Hi All

After many years I revisited a post I never used.
Basically, because at the time i didn't understand anything of what was being said & I felt too dumb to say so....

I came across a reply from JosŤ:
I integrated Paul's class in my headers ( with minimal changes, such as changing the logic of the return value of the SendMail method, and documented it in the help file (WinApiHeaders.chm).

I thought i would give this a visit again, but is unable to find the .inc file nor the reference in the .chm file.

All i really need to achieve is NOT to send the email, but just like a MAILTO link that opens the default email client (99% chance of being MS Outlook), and insert the TO address and a topic. That is it.

I also checked out Paul's email class and it continues to give me "Outlook object cannot be created" error.

If anyone has a Quick and Dirty fix like last time with the button Issue, it would be greatly appreciated.

-Regards Peter

 on: May 11, 2019, 04:56:20 PM 
Started by Jim Dunn - Last post by Josť Roca
If there aren't new versions of PB, I have no incentives to continue working with it. I'm retired, so programming has become a hobby.

 on: May 11, 2019, 11:57:43 AM 
Started by Jim Dunn - Last post by Jim Dunn
Hey Jose,

First, let me apologize for another "PowerBASIC" question.  Recently I needed to update an old PowerBASIC program for a client who didn't want to go FreeBasic... anyway, I had difficulty comparing AfxAstroDay with AfxGetFileCreationTime and didn't want to spend more time on it (it was a freebie for the client)... so I wrote a quick AfxGetFileCreationAstroTime function:

Code: [Select]
FUNCTION AfxGetFileCreationAstroTime(BYVAL theFile AS WSTRING) AS LONG
theFileTime = AfxGetFileCreationTime(theFile)

LOCAL lft AS FileTime, st AS SystemTime
FileTimeToLocalFileTime(BYVAL VARPTR(theFileTime), lft)
FileTimeToSystemTime(lft, st)

FUNCTION = AfxAstroDay(st.wDay,st.wMonth,st.wYear)

But, my questions are:
  • Is WINAPI_III_107 the last/latest version of the PowerBASIC .inc files, in case I have to do other stuff for this client
  • Are you completely FreeBasic now?  (how do you like it?  I've seen the WinFBX stuff, very nice)
Thx!  : )

P.S.  And, again, thanks for all the help you've been over the years!

 on: May 07, 2019, 08:30:08 AM 
Started by James Klutho - Last post by Paul Squires
I'm still working on this. Got most of the guts of the class done. Just need to implement the scrollbars for the display window. I am using this class in a program that I had to write for work. Looks good so far and should replace my need for PDF generation. Next project, re-write my xmlExcel classes in FreeBASIC so that I can have a good Excel export for my data. Those classes are a bit hack-y so they could use a good refresh.

Oh, and also finish writing the WinFBE visual designer....  :-)  :-)  :-)

 on: May 06, 2019, 06:52:51 AM 
Started by Petrus Vorster - Last post by Petrus Vorster
Hi David

I assumed it was not going to be a simple background change selection.....

I just dragged the Tabcontrol, using Firefly onto the form.
I can easily change the different pages of the tab's by changing the background colour of each child form.

The Tabcontrol by itself had this "bar" that runs along the top of the Tabcontrol that uses a system colour for which there is no settings to change.
I assume it uses the system colours for a form and not the background colour of the form its placed upon.

I will play around with what you have me, thank you for the help.


Pages: 1 [2] 3 4 ... 10