Utility Plugin - for simple delphi components

Questions about NeoBook PlugIns

Moderator: Neosoft Support

User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Hello David de Argentina,
Check your Paypal Account, and tell me if you had received something from me...
I have received your donation.
Will help a little bit to keep my development tools uptodate.
(embarcadero is not cheap)
Thanks for your awesome work !
Thanks for supporting freeware-plugin development.
I would not expect donations from a plugin-developer-fellow, because you can either do a plugin yourself
or your own plugins yet support the neobook produkt and community.
So thanks back for your own work.


Regards and greetings from rainy germany

Hans-Peter
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Just released hpwUtility 2.39:

Action: hpwUtilitySetVar - wizard now has a adv.file button for [hpwKnobImage] and [hpwKnobBackgroundImage]
Hans-Peter
mishem
Posts: 581
Joined: Mon Oct 08, 2012 1:51 pm

Re: Utility Plugin - for simple delphi components

Post by mishem »

Code: Select all

hpwUtilitySetVar "[hpwImgComboFontName]" ""
hpwUtilitySetVar "[hpwImgComboFontSize]" ""
hpwUtilitySetVar "[hpwImgComboFontStyle]" ""

hpwUtilitySetVar "[hpwImgListBoxFontName]" ""
hpwUtilitySetVar "[hpwImgListBoxFontSize]" ""
hpwUtilitySetVar "[hpwImgListBoxFontStyle]" ""
For these variables when choosing the value of the text does not fit in the box.

If the ListBox, Combo, etc., do not specify the font size in advance and what is more variable (can not remember) I get an error.
The same is true in the plugin hpwTreeView.
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Just released hpwUtility 2.40:

http://www.hpwsoft.de/anmeldung/html1/n ... book4.html

Bugfix: hpwUtilitySetVar - wizard's font button for [hpwImgComboFont...] and [hpwImgListBoxFont...] vars fixed


Thanks mishem for bug-reporting.
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Just released hpwUtility 2.41:

http://www.hpwsoft.de/anmeldung/html1/n ... book4.html

Bugfix: hpwListBoxDeleteItem - Deleting all or the last listbox-item could throw an error-message on WIN 7
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Just released hpwUtility 2.42:

http://www.hpwsoft.de/anmeldung/html1/n ... book4.html

Action: hpwGetPluginName - Get the pluginname out of a pluginfile.

Since I was in need for this for getting name and version I used the kindly provided unit from David Esperalta here:

viewtopic.php?f=9&t=19261&p=11205770&hi ... #p11205770

Of cource David's own npUtil offers a lot more functions for plugin info.

Regards
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Just released hpwUtility 2.43:

http://www.hpwsoft.de/anmeldung/html1/n ... book4.html

Nested calls of command-wizards no longer throw an access-violation.


For most of my other plugins I made a silent update, because this was only a minor bug which rarly happens.

Regards
Hans-Peter
UltraVox
Posts: 469
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Post by UltraVox »

Hello HPW,

I use several knob on the same NB page and I wonder if it's possible to disable it ? All and/or separately ?
I tried the command hpwUtilitySetVar "[hpwKnobEnabled]" "0" , but they remain active.

Thank you for your great job.
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Hello,

This works for me:

Code: Select all

DisableObject "RKnobName"
Of cource it does not show a visual disabled-state.

Regards
Hans-Peter
UltraVox
Posts: 469
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Post by UltraVox »

Yes !!! Disable/EnableObject "RKnobName" it works :)
I did not know this function on the knob, because normally a NeoBook rectangle can not be Enabled or Disabled (no such thing in the rectangle properties).

Thank you very much HPW :)
Cheers,
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

On a normal rectangle it does not make sense, but a rectangle which acts as a plugin host-object can be disabled in that way that it does not get any more Windows Messages from the main-app message loop. So a properly written plugin following the SDK should act in this way.

Regards
Hans-Peter
UltraVox
Posts: 469
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Post by UltraVox »

Hello Hans,

Do you know how to convert the colors like 255,255,255 to PFlashAssist colors, like : 0xff0000 ?

I tried this:

Code: Select all

npColorDialog "" "cdPreventFullOpen" "[Color]" "[Result]"
hpwColorConvert "[Color]" "FLASH" "[GlowColor]"   ...(and I tried also with ACI, HTML, INT32, RGB, RGBINT and TCOLOR)
pfaSetGlowFilter "WebBrowser1" "Container.[Layer]" "[GlowColor]" ".6" "20" "20"
Without success.

It would be a good addition in hpwUtility :)

Thank you.
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Utility Plugin - for simple delphi components

Post by HPW »

Hello,

What format/data of color is in [Color] ? (Watch the debugger!!) (I don not know the npColorDialog command)

In my demo pub page 1 I type in the input field: 255,255,255 and choose FLASH from the popup and get as the result: 0xFFFFFF

Regards
Hans-Peter
UltraVox
Posts: 469
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Post by UltraVox »

Excuse me, I made a mistake in the first command line. Everything works now.

However :
What format/data of color is in [Color] ? (Watch the debugger!!) (I don not know the npColorDialog command)
The answer was in my question :)
Do you know how to convert the colors like 255,255,255 to PFlashAssist colors, like : 0xff0000 ?
Thank you for your help, and sorry to have bothered you for nothing.

Best,
UltraVox
Posts: 469
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Post by UltraVox »

Hi HPW,

Is it possible to set the color (the look) of Tabs ?
My application is very dark, but Tabs are much too light.

If so, can you explain the method to use to customize Tabs, please ?

Thank you.
Locked