Search found 61 matches: floating

Return to advanced search

Re: TSBROWSE - TSBUTTON 64 bits

... ) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ..\SOURCE\FUNCTION\BPAINT.C:957:14: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] iRed = abs( clr2r - clr1r ) ; ^ ..\SOURCE\FUNCTION\BPAINT.C:957:14: note: use function 'std::abs' instead iRed ...
by Cgallegoa
Mon Sep 23, 2024 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - TSBUTTON 64 bits
Replies: 2
Views: 189

Re: COMBOBOX

... of information. I followed the steps and things are starting to get a bit clearer for me already :-) Thank you all for your patience and sorry for floating the forum with maybe too basic questions :oops: Thanks again for your guidance and support. Kind regrads Ruth
by Ruth
Wed Feb 28, 2024 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: COMBOBOX
Replies: 7
Views: 680

Focus error on this new project

... a foldertab because they do nothing If I comment out this on line 138 : // oDlgRB[1]:nStyle := nOR(WS_CHILD) // ,WS_THICKFRAME Then the xbrowse is floating, but the mouse is working ? Probably there is also a fault in sequence of the window, ribbon, folderex and wbrowse setup ... Can someone help ...
by Marc Venken
Thu Dec 09, 2021 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Focus error on this new project
Replies: 16
Views: 1898

Re: drag and drop from outlook pure FIVEWIN solution

... searching for the source code and will post a new example. I am also working on a program to manage the emails. At the moment, everything is "floating". For the email desktop we need the following components: Document management http://forums.fivetechsupport.com/viewtopic.php?f=3&t=33215&p=234030&hilit=emaildesktop&sid=e2b0dce5f3903132a02fba860b1c3e30#p234030 ...
by Otto
Thu Nov 18, 2021 1:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: drag and drop from outlook pure FIVEWIN solution
Replies: 9
Views: 2050

Re: Windows 11 Fluent Design

... it looks like this code will only draw a shadow on the left side and the bottom. Win 11 shadows are on all sides which makes it look like it is floating. Here are some examples: https://docs.microsoft.com/en-us/windows/apps/design/signature-experiences/layering
by James Bott
Thu Sep 30, 2021 3:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 11 Fluent Design
Replies: 43
Views: 11341

Re: SysCtrl PANEL BLACK

flickering, aflutter = Tremulante.

oscilante := swinging, wavering, flickering, oscillatory, floating, wobbly

Exacto Master.

No és nada que el equipo de FiveTech no pueda resolver.

Muchas gracias. Fuerte abrazo.


Regards, saludos.
by karinha
Sat Sep 11, 2021 1:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysCtrl PANEL BLACK
Replies: 25
Views: 2150

Re: Ribbon Bar Sample ?

... in many years, so I am not a fan either. But, from the sample program, it appears that this isn't MDI as you know it. These dialogs are not free floating windows like you are thinking of MDI. Do a net search for "MS Office 2016" and select "images" to get some ideas how the ...
by James Bott
Fri Oct 26, 2018 3:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Bar Sample ?
Replies: 13
Views: 3075

Re: New field type ?

... Date & Time (if width is 8 ) (?) V Variant 3, 4, 6 or more Variable type Field Y Currency 8 64 bit integer with implied 4 decimal B Double 8 Floating point / 64 bit binary I hope it may help
by jose_murugosa
Fri Oct 26, 2018 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New field type ?
Replies: 17
Views: 3837

Re: Dialog inside oMDI:oWndClient

Hi Mr. Antonio,

What I would like to do is paste a dialog on oWndMdi:oWndClient which does not overlapped with MDICHild... Or, a panel floating behind MdiChilds.

:idea: :idea: :idea:
by fraxzi
Thu Jul 05, 2018 12:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog inside oMDI:oWndClient
Replies: 7
Views: 1441

Re: Strange error making some calculations

As an example: take 1/10. What result do you expect from this? 0.1 for sure. Well, using floating-point you could get 0.100000000001 or 0.099999999999 or similar results instead. If you hide the decimals you will se 0.1 or 0.0 according to the actual result. If you ...
by Enrico Maria Giordano
Thu Mar 22, 2018 11:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error making some calculations
Replies: 9
Views: 1992

Re: Strange error making some calculations

Massimo,

you have to understand how floating-point work. Not doing so you'll find a lot of strange behaviour, in any programming language.

EMG
by Enrico Maria Giordano
Thu Mar 22, 2018 10:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error making some calculations
Replies: 9
Views: 1992

Re: Strange error making some calculations

Ok, you're right. But I'm using some constants with 2 fixed decimals, not floating numbers. Making the calc with a scientific pocket calculator, the result is correct. I've tried with FORTRAN too, with 2 decimals and floating point variables and the result is ...
by Massimo Linossi
Thu Mar 22, 2018 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error making some calculations
Replies: 9
Views: 1992

Re: Strange error making some calculations

It's the usual floating-point behavior. To fix it you have to round tot too:

Code: Select all  Expand view  RUN
tot:=a1 + a2 + a3 + a4
tot = Round(tot,2) //add this
iva:=Round(tot*10/100,2)


EMG
by Enrico Maria Giordano
Thu Mar 22, 2018 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error making some calculations
Replies: 9
Views: 1992

Re: Strange error making some calculations

Clipper/Harbour uses floating point math which is not always precise when converted to decimals. ? tot < 0.5 // .T. So, tot:= round( a1 + a2 + a3 + a4, 2 )iva:=Round( tot*10/100,2)? tot                   // 0.05 correct? ...
by nageswaragunupudi
Thu Mar 22, 2018 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error making some calculations
Replies: 9
Views: 1992
Next

Return to advanced search

cron