Gadget for Windows 7, and-or Vista

Jan 19, 2010 at 21:02
Vistas 8,198
46 Replies
Miembro desde Dec 04, 2009   posts 22
Jan 19, 2010 at 21:02
Hello!

I wrote a simple gadget for Windows 7 (poss. Vista). Gadget based on MyFxBook widgets, with limited parameters, and without any secure code if You entered wrong data in form fields (in settings) - then do this very carefull. But don't worry its working and looking good! 😄

... I have a problem with attaching a file to 'New Topic', then i try in answer to my post.
im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Dec 04, 2009   posts 22
Jan 19, 2010 at 21:05 (editado Jan 19, 2010 at 21:09)
Here You have a file: (Original name of file is 'MyFxGadget.gadget')
<a href='https://www.myfxbook.com/files/Ykee/MyFxGadget_t5.gadget' target='_blank'>MyFxGadget_t5.gadget</a>

Here is example view with gadget in work.
<a href='' target='_blank'><img src=''/></a>

Enjoy!

Archivos adjuntos:

im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Jul 31, 2009   posts 37
Jan 19, 2010 at 21:43
Nice job!
Miembro desde Aug 10, 2009   posts 33
Jan 20, 2010 at 09:39
Now I wish we had Win7 here at work ;)

Looks good thou.
Never interfere manually in trades by a automated system
LEHayes2
forex_trader_2115
Miembro desde Oct 25, 2009   posts 112
Jan 20, 2010 at 09:46
A few questions, btw it looks great.

1. Can we change the color if orange isn't easy enough on our eyes?
2. When I extract it, where do I extract it too?
3. If we have multiple reports, can you show the reports in a single file list like the summary page of a search result, only less data wide, then if do a slide out if we mouse it? Like maybe if we mouse over a report, it expands in location to show what you have on the pic, then if we click on it, it slides out to the chart. Final suggestion here is maybe some way to click on it to go directly to the report it is based on at myfxbook.
LEHayes2
forex_trader_2115
Miembro desde Oct 25, 2009   posts 112
Jan 20, 2010 at 10:07
Ok, I expliored the code, you do handle color change. It looks good, I just need to know where to extract it too. The rest is just a suggestion.
Miembro desde Dec 04, 2009   posts 22
Jan 20, 2010 at 11:36 (editado Jan 20, 2010 at 11:39)
Hi

Answers:
1. Yes - 'Settings' - see images below.
2. Do not extract!. Save the file wherever You want. Double click on file and install gadget (windows do it itself). .gadget file extension is a good extension 😄
3. Only one report in one gadget (same like myfxbook widgets). But You can adds - from gadgets manager in windows - many copies of gadget, and sets differents settings.

...sorry for my English. If you see somewhere in the text of any errors, tell me.
---
<a href='' target='_blank'><img src=''/></a>

<a href='' target='_blank'><img src=''/></a>
We have 'Main' settings - for gadget, and 'Custom' settings for chart... try it.

<a href='' target='_blank'><img src=''/></a>

<a href='' target='_blank'><img src=''/></a>

<a href='' target='_blank'><img src=''/></a>

Archivos adjuntos:

im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Jul 31, 2009   posts 1444
Jan 20, 2010 at 11:45
Ykee, two thumbs up on the gadget! 😄

A job well done!
Miembro desde Aug 06, 2009   posts 397
Jan 20, 2010 at 13:04
nice! i wish i had windows 7 to use the gadget..too bad..
Sleep is for the weak.
Miembro desde Jan 05, 2010   posts 92
Jan 20, 2010 at 18:33
Thanks for your hard work Ykee! I'm already using it - very handy! 😄
Patience is a virtue.
Miembro desde Dec 04, 2009   posts 22
Jan 20, 2010 at 22:44
Thanks people for the good words! I wish you a pleasant use.

Thanks <b>@Staff</b> for thumbs, will be useful ;)
im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Oct 25, 2009   posts 88
Jan 20, 2010 at 23:58
Very nice gadget! 😁

There is a problem though, 'SystemID (FTP login)', doesn't seem to support more than 4 numbers. My SystemID consists of 5 numbers.

Furthermore, every time I start the gadget, I get 'Row: 10, Error: 'CheckDockState' is undefined.', should it be like this?

If would be great if these small errors could be corrected! 😉
Whoever said money can't buy happiness didn't know where to shop.
Miembro desde Dec 04, 2009   posts 22
Jan 21, 2010 at 07:55 (editado Jan 21, 2010 at 07:55)
Hello

You have right <b>@Yonex</b> - there was a bug, and in fact SystemID field was limited to 4 characters. I fixed it both, and SystemID has now restricted to 6 characters.

Corrected version here: <a href='https://www.myfxbook.com/files/Ykee/MyFxGadget_t5.gadget' target='_blank'><b>MyFxGadget_t5.gadget</b></a>


Archivos adjuntos:

im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Aug 06, 2009   posts 397
Jan 21, 2010 at 09:26
i don't think you should limit the field at all, i don't see the point.
Sleep is for the weak.
Miembro desde Dec 04, 2009   posts 22
Jan 21, 2010 at 09:47 (editado Jan 21, 2010 at 09:49)
Mey be You right <b>@biz0101</b>. When i created this gadget I did not implement any error handling. So I decided to limit the possibility of erroneous entries. But now, I also do not see the point...

If MyFxBook have implemented some simple services, for example: userExist(string:name; return: true|false),
userSystemNameExist(string:username, string:systemname; return:true|false),
and userFTPloginCorrect(string:username, string:numberFTP; return: true|false)
- return in JSON mey be.... it would be easier...😇
im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Jul 31, 2009   posts 1444
Jan 21, 2010 at 10:01

Ykee posted:
If MyFxBook have implemented some simple services, for example: userExist(string:name; return: true|false),
userSystemNameExist(string:username, string:systemname; return:true|false),
and userFTPloginCorrect(string:username, string:numberFTP; return: true|false)
- return in JSON mey be.... it would be easier...😇

Ykee, this is definitely something we can do!

Thanks for the suggestion!
Miembro desde Dec 04, 2009   posts 22
Jan 21, 2010 at 13:33

LEHayes2 posted:
[...] Final suggestion here is maybe some way to click on it to go directly to the report it is based on at myfxbook.

I forgot to tell...
What you suggest were implemented from the start - click on the chart.

regards
im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Nov 21, 2009   posts 2
Jan 21, 2010 at 17:25 (editado Jan 21, 2010 at 17:26)
Hei
I got one problem: the downloaded file is opening like WinRar file.... i didn't find any installation file inside.
Miembro desde Dec 04, 2009   posts 22
Jan 21, 2010 at 17:52 (editado Jan 21, 2010 at 17:53)
Maybe my English isn't good, sorry.

1. Download file (<a href='https://www.myfxbook.com/files/Ykee/MyFxGadget_t5.gadget'><b>MyFxGadget_t5.gadget</b></a>)
2. Save the file somewhere on your hard drive.
3. DO NOT extract (unzip, unrar... whatever) - file have extension <b>.gadget</b> - and its good extension. This is extension for Windows 7 (Vista) gadgets.
4. Simply double-click on the file, or right mousebutton, and 'Open'.

Or (hard path)

1. Open: C:/Program Files/Windows Sidebar/Gadgets/
2. Create new <b>folder</b> 'MyFxGadget.Gadget' - exactly as written!
3. Copy files from archive (open MyFxGadget.gadget in WinRar, WinZip, 7zip... whatever) to the new folder (point 2).
4. Click right mousebutton on pulpit, and select 'Gadgets' option - You should see all installed gadgets, and MyFxGadget too.

Maybe this will help.
im więcej ćwiczę,tym więcej mam szczęścia!
Miembro desde Nov 21, 2009   posts 2
Jan 21, 2010 at 18:09
Ok thanks Ykee. The hard path works!😄
Conectarse / Inscribirse to comment
You must be connected to Myfxbook in order to leave a comment
*El uso comercial y el spam no serán tolerados y pueden resultar en el cierre de la cuenta.
Consejo: Al publicar una imagen o una URL de YouTube, ésta se integrará automáticamente en su mensaje!
Consejo: Escriba el signo @ para completar automáticamente un nombre de usuario que participa en esta discusión.