Quotation

Quotation

Postby Silvio.Falconi » Thu Nov 22, 2012 5:31 pm

How I can create a quotation with stars ?

for sample I wish give to Fivewin five stars as

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Quotation

Postby ukoenig » Fri Nov 23, 2012 12:50 pm

Silvio,

working on a tester with different styles :
( added some more different Star-images )

Image

Image

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Quotation

Postby Silvio.Falconi » Fri Nov 23, 2012 2:49 pm

I like to move the mouse over the strars and set the quotation
the user must set also half stars
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Quotation

Postby ukoenig » Fri Nov 23, 2012 7:25 pm

Silvio,

3 different Star-styles
Left-click = full star
Right click = half star
changes in Tselect deletes all stars ( grey )
Exit-button saves selection to a INI-file


Autofill to right-direction
Samples :

1. ) with right Mouseclick select 3. Image from right
Result : fills Image 3 with half star and Image 1, 2 with full star

2. ) with left Mouseclick select 4. Image from right
Result : fills Image 1 to 4 with full star

Download : http://www.pflegeplus.com/fw_downlods/quotation1.zip

Click-results screenshots :
1. Right Mouseclick on 3. Image from right
2. Left Mouseclick on 4. Image from right
3. Right Mouseclick on 1. Image from right

Image

Another 3 Sets :
Download : http://www.pflegeplus.com/fw_downlods/qset1.zip

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Quotation

Postby Silvio.Falconi » Sat Nov 24, 2012 10:23 am

GOOD
we can try to create a small class ....
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Quotation

Postby ukoenig » Sat Nov 24, 2012 12:22 pm

Added ZERO-selection, Style-preview and 3 more styles
Selecting - 0 - and next a Image-click ( 1 - 5 ),
the slider auto-moves from - 0 - back to the selected style-position.
- 0 - status is saved to the INI as well ( selecting - 0 - and next the EXIT-button ).

Download : http://www.pflegeplus.com/fw_downlods/quotation2.zip

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Sun Nov 25, 2012 12:43 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Quotation

Postby Silvio.Falconi » Sat Nov 24, 2012 8:48 pm

and we can give to a quotation a number ?

sample 150 one stars and half
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Quotation

Postby ukoenig » Sat Nov 24, 2012 9:03 pm

Silvio,

Yes, it will calculate from a given MAX-value.
I will add this solution.

Image

Best regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Quotation

Postby ukoenig » Sun Nov 25, 2012 1:08 pm

Added Star-value-calculations.
The Calc-button replaces the Image-values with a new Calculation from a new Max-value.
Values are calculated with the Image-change on Mouseclick.
The Max-value is saved to the INI-file.

Download : http://www.pflegeplus.com/fw_downlods/quotation3.zip

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Quotation

Postby Silvio.Falconi » Mon Nov 26, 2012 2:36 pm

Please I have a small dialog

I have a get spinner as


@ 10, 8 SAY "Valorizzazione :" SIZE 39, 8 PIXEL OF oFld:aDialogs[7] COLOR 0, 14215660
@ 8, 54 GET aGet[28] VAR nLIVALORACI SIZE 50, 12 PIXEL OF oFld:aDialogs[7] UPDATE SPINNER MIN 1 MAX 10

and near to left I wish insert 5 stars
If the use press the spinner it must refresh the bitmap at left
it is possible ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Quotation

Postby ukoenig » Mon Nov 26, 2012 7:24 pm

Silvio,

calculation and painting from SPINNER works fine :
( still working on a TTitle-solution with Border, frame and Gradient / brush )

Image

TTitle-solution with gradient, box-shadow, animated and reflex

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Quotation

Postby Silvio.Falconi » Tue Nov 27, 2012 8:54 am

where is this last sample ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Quotation

Postby ukoenig » Tue Nov 27, 2012 9:03 pm

Silvio,

completed
because TTitle doesn`t support Left / Right-mouseclick, You can change stars with the Get
Maybe I will still add a click-counter to the TTitle-images, to get it working like the the sample on top.
Any changes inside the Get or Style-selection, adjusts the Images and Values of TTitle as well.

Download :
http://www.pflegeplus.com/fw_downlods/Quotation4.zip

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Quotation

Postby ukoenig » Mon Dec 03, 2012 10:51 am

I completed the Quotation-tool with a new TTitle-image-dblclick and a PAINTER
It can be used as a TTitle-tester as well.

New :
1. Double-click-solution on TTitle-image ( normal, only Action defined )
--- 1 click = half star, 2 clicks = full star
2. TTitle-Base ( selection a Base-gradient, starts from 0.5 to 1 Color-position )
3. TTitle Color, Gradient, Brush or Transparent
4. TTitle-Shadow-size
5. Dialog Color, Gradient and Brush-selection
6. TTitle-Border ( uses the defined Textcolors from Dialog and TTitle )
7. Text-color for Dialog and TTitle


Download :
http://www.pflegeplus.com/fw_downloads/quotation5.zip

Image

A BASE-TRANSPARENT-selection

Image

The Painter .

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 127 guests