[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - ProgressBar Code

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently October 31st, 2024, 4:35 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: ProgressBar Code
PostPosted: March 24th, 2019, 7:15 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Hello !

I try to change the ForeGround Fill of a Progressbar with java.
Wath is the code ?
i try this but not work
"progressbar1.Background.Fill.Color = rgba(255,255,255,255);"

Thx :)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 25th, 2019, 3:05 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Check these "multicolor" topics to port and fit the js used to your widget
https://www.deviantart.com/jimking/gall ... multicolor

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 25th, 2019, 7:08 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Ok Thanks :)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 25th, 2019, 8:17 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
You're welcome! :)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 25th, 2019, 8:51 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
I have a question.

I created a widget with cores "ShortCutCore and PhotoAlbumCore" and here is what I would like to do.

Create a button to change the Path of ShorCutCore and save in an INI.

And the same thing for the PhotoAlbumCore Folder Path

I try codes but I can not do what I want.
I try with this notament.

Setinivalue ("inifile path", "section", "keyName", "keyValue");
Getinivalue ("inifile path", "section", "keyName", "defaultValue");

Thank you :)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 26th, 2019, 3:01 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
I attach you a test widget. There are built-in tag codes for both functions. The paths will be saved.
(for the shortcut path there are more options/tags to use for)
You want something different than that? :?


Attachments:
test.xwp [92.4 KiB]
Downloaded 480 times

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/
Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 26th, 2019, 4:03 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Is it possible for this to save to an Ini file with this code ?

Setinivalue ("inifile path", "section", "keyName", "keyValue");
Getinivalue ("inifile path", "section", "keyName", "defaultValue");

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 26th, 2019, 10:05 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
The save. ini works when you reload a widget or during the normal restart of Windows or restart of the program itself.
When you completely close a widget / remove it from desktop no settings are saved. This is something general. XWidget works like this.
So in your case, you don't need any js, since any configuration will be saved equally but always according the above conditions.

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 27th, 2019, 6:25 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
ok if i restart my PC all configuration are saved right ?

Or i can use this code

SaveIni()
SaveAsDefIni()

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 27th, 2019, 8:19 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Yes. The configurations of the shortcut and photoalbum cores are saved even after restart the pc.
As I told you in prev comment only when you completely close XWidget or close a widget (remove it from the desktop) the configuration options will be lost

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 28th, 2019, 5:59 am 
Offline

Joined: September 16th, 2016, 3:30 am
Posts: 68
Ok but i want to save configuration
for after reboot you'r PC you don't have to reconfigure all of shortcut :)

_________________
// ===== Contact ===== //
https://discord.gg/9vyhv3F

// ===== My Widget ===== //
http://xwidget.com/xwidget/plus/view.php?aid=2140


Top
 Profile  
 
 Post subject: Re: ProgressBar Code
PostPosted: March 28th, 2019, 3:20 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group