Recent

Author Topic: Help Needed(Closed)  (Read 5837 times)

JLWest

  • Hero Member
  • *****
  • Posts: 1013
Re: Help Needed
« Reply #15 on: March 05, 2021, 10:22:46 pm »
My basic question was answered. It doesn't run well or not at all on Unix. I can live with that. Answer is simple, Windows Only.

As for the UI. Not willing to change. You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to. And once you reach that age there isn't a lot anyone can do about that. Hopefull you'll learn that. It's a good thing.

And by the way. The reason you have to click on 'DataSet' and select one from the listbox is because you can have more that one. I have FreePascal, Phonebook,
House, Passwords, Appliance Warranty, Autos and Toyhauler. It's easy to copy all this stuff to a thumbdrive for backup.

Thanks for the Help


FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

dsiders

  • Sr. Member
  • ****
  • Posts: 442
Re: Help Needed
« Reply #16 on: March 05, 2021, 10:35:38 pm »
Not willing to change. You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to.

Like writing a decent subject line for your posts? That was obvious 999 messages ago.
Lazarus 2.0.12 / 2.1 (SVN) / FPC 3.0.4 / FPC 3.2.0 / x86-win64 / Windows 8.1

Gustavo 'Gus' Carreno

  • Sr. Member
  • ****
  • Posts: 449
  • Professional amateur ;-P
Re: Help Needed
« Reply #17 on: March 05, 2021, 11:43:31 pm »
Hey JL,

You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to.

I'm at 51 an I'm fighting with every fibre of my being to NEVER turn into the grumpy old fart that you portray. Being old doesn't excuse being rude or a troll.
I didn't say you were obligated to adhere, I said it would be nice of you to try and show some empathy towards your fellow human beings.

You know, it's because of people like you that the world is in the covid-19 crisis that it is. Your selfish, obstinate and utterly in the wrong, but you'll never admit that you're wrong because you're just an ugly person inside.

I'm now really sorry that I ever extended any sympathy towards you. I'm even gonna delete that sorry excuse of a program so i don't get the cuties from you!!

Have a good life!

No Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 20.10 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.0(stable) Ubuntu 20.10 64b Dark Theme
http://github.com/gcarreno

VTwin

  • Hero Member
  • *****
  • Posts: 976
  • Former Turbo Pascal 3 user
Re: Help Needed
« Reply #18 on: March 06, 2021, 02:53:11 am »
As for the UI. Not willing to change. You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to.

So why ask for help if you have it all figured out?
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.12 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.12 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.12 (64 bit on VBox)

jamie

  • Hero Member
  • *****
  • Posts: 4346
Re: Help Needed
« Reply #19 on: March 06, 2021, 03:06:10 am »
My basic question was answered. It doesn't run well or not at all on Unix. I can live with that. Answer is simple, Windows Only.

As for the UI. Not willing to change. You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to. And once you reach that age there isn't a lot anyone can do about that. Hopefull you'll learn that. It's a good thing.

And by the way. The reason you have to click on 'DataSet' and select one from the listbox is because you can have more that one. I have FreePascal, Phonebook,
House, Passwords, Appliance Warranty, Autos and Toyhauler. It's easy to copy all this stuff to a thumbdrive for backup.

Thanks for the Help

Keep it up, you are doing well!

The others just don't understand, yet!  :o
The only true wisdom is knowing you know nothing

JLWest

  • Hero Member
  • *****
  • Posts: 1013
Re: Help Needed
« Reply #20 on: March 06, 2021, 03:08:34 am »
As for the UI. Not willing to change. You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to.

So why ask for help if you have it all figured out?

I would have thought that was obvious in the first post. "Will this run on Unix". The answer was no.

FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

JLWest

  • Hero Member
  • *****
  • Posts: 1013
Re: Help Needed
« Reply #21 on: March 06, 2021, 03:20:18 am »
This was posted in "Beginners".

The program isn't meant for programmers who know it all. You don't have to look up anything.

But, as a beginner is is very difficult to know what you don't know. First off you don't know what to search for or where to look.

And the Old Line "Read the Manual!' Sucks. Few read the manual while trying to learn a language. I just got tired of typing in the google search box "Free Pascal String Function".


For me, and maybe it's just me the documentation for PFC is nothing to brag about. But here again it probably doesn't really matter that much. Usage of FreePascal isn't growing by leaps and bound.
FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

jamie

  • Hero Member
  • *****
  • Posts: 4346
Re: Help Needed
« Reply #22 on: March 06, 2021, 04:09:37 pm »
@JLWest

There you go buddy, lay it out on the line for them....

That's what they need, a little Edge-Gah-Mah-cation!  8)
The only true wisdom is knowing you know nothing

Fred vS

  • Hero Member
  • *****
  • Posts: 2196
    • StrumPract is the musicians best friend
Re: Help Needed
« Reply #23 on: March 06, 2021, 05:33:01 pm »
As for the UI. Not willing to change. You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to.

So why ask for help if you have it all figured out?

I would have thought that was obvious in the first post. "Will this run on Unix". The answer was no.

Huh, sorry to interfere here but I dont understand why your code (with some modifs) should not work on Unix.

Maybe the first thing to do is remove {$IFDEF UseCThreads} (for me strange that Lazarus gives it by default):

Code: Pascal  [Select][+][-]
  1. program QuickList;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. uses
  6.   {$IFDEF UNIX} // no other conditions.
  7.   cthreads,
  8.   {$ENDIF}

And some tuning in the config path then your code should perfectly run under Unix.

(And dont forget the undoubtedly true mirror-theory: a person that describes a other person, describes in fact himself).

Fre;D
« Last Edit: March 06, 2021, 06:08:46 pm by Fred vS »
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

JLWest

  • Hero Member
  • *****
  • Posts: 1013
Re: Help Needed
« Reply #24 on: March 06, 2021, 06:50:41 pm »
@ Fred vS

Your not interfering. Thanks for the help. I'll try it. But I don't have any way to test the results.

Yea, I was beginning to think there was a new standard on the "Beginners board". In the course of not providing help you get to call the person names.

I do fail to see how that will promote FreePascal. May they could change the name of the Beginners Board to "Personal Insults". 
FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

Fred vS

  • Hero Member
  • *****
  • Posts: 2196
    • StrumPract is the musicians best friend
Re: Help Needed
« Reply #25 on: March 06, 2021, 07:11:59 pm »
@ Fred vS

Your not interfering. Thanks for the help. I'll try it. But I don't have any way to test the results.

Yea, I was beginning to think there was a new standard on the "Beginners board". In the course of not providing help you get to call the person names.

I do fail to see how that will promote FreePascal. May they could change the name of the Beginners Board to "Personal Insults".

Hello JLWest.

Sorry to repeat myself:
Quote
(And dont forget the undoubtedly true mirror-theory: a person that describes a other person, describes in fact himself).

Now about your project, only changing, like gcarreno-when-he-is-great explained:

Code: Pascal  [Select][+][-]
  1. Procedure TForm1.VerifyInstallPath;
  2.   Var
  3.    Found : Boolean = False;
  4.    Path  : String;
  5.   begin
  6. {$IFDEF WINDOWS}
  7.    Path := INSTALLPATH + 'QuickList.exe';
  8. {$ELSE}
  9.    Path := INSTALLPATH + 'QuickList';
  10. {$ENDIF}
  11.    Found := FileExists( Path );
  12.    if ( Not Found ) then begin Halt; end;
  13.  end;

And it works here on Linux 64 bit.

But, about the GUI appearance, maybe you should think to make the form sizable because here on a 1024x800 it is not readable.

Fre;D


 
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

VTwin

  • Hero Member
  • *****
  • Posts: 976
  • Former Turbo Pascal 3 user
Re: Help Needed
« Reply #26 on: March 06, 2021, 07:51:50 pm »
As for the UI. Not willing to change. You state I have to adhere. "No I don't". At 79 years old I don't have to do one thing I don't want to.

So why ask for help if you have it all figured out?

I would have thought that was obvious in the first post. "Will this run on Unix". The answer was no.

Sorry, I misunderstood.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.12 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.12 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.12 (64 bit on VBox)

JLWest

  • Hero Member
  • *****
  • Posts: 1013
Re: Help Needed
« Reply #27 on: March 06, 2021, 09:07:37 pm »
@ Fred vS

Not sure I understand all the ins and outs of resizing.
I guess I could create a trunk and if it work OK and if not delete the trunk.

Thanks.



FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

Fred vS

  • Hero Member
  • *****
  • Posts: 2196
    • StrumPract is the musicians best friend
Re: Help Needed
« Reply #28 on: March 06, 2021, 10:11:24 pm »
@ Fred vS

Not sure I understand all the ins and outs of resizing.

Here, compiled with fpc 3.2.0 and LCL GTK2 widget-set, the main form is not sizable, you may only move it but nor re-size it.
(Note that I dont know well LCL widget-set and did not check the gui code, did you set the main-form as sizable?)

Fre;D
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 2196
    • StrumPract is the musicians best friend
Re: Help Needed
« Reply #29 on: March 06, 2021, 10:33:55 pm »
@ Fred vS

Not sure I understand all the ins and outs of resizing.

Here, compiled with fpc 3.2.0 and LCL GTK2 widget-set, the main form is not sizable, you may only move it but nor re-size it.
(Note that I dont know well LCL widget-set and did not check the gui code, did you set the main-form as sizable?)

Re-hello.

I think that the main form is not sizable because you added TSizeConstraints.
If you remove it (set all min-max to 0) , the form will be re-sizable.
Also you may set 'AutoScroll := true".

« Last Edit: March 06, 2021, 10:39:46 pm by Fred vS »
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

 

TinyPortal © 2005-2018