Search found 15 matches: conditionally

Return to advanced search

Re: Runtime with Windows 7 - New builds

... for my builds, I simply have these in a file called legacy.hbc which I include in the hbmk2 build files when needed, and even if included it conditionally builds this way only for 32 bit apps.: libs=legacy_stdio_definitions{msvc} ldflags=/SUBSYSTEM:WINDOWS,5.01{msvc} cflags=/D_USING_V110_SDK71_{msvc} ...
by rhlawek
Thu Apr 28, 2022 8:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Runtime with Windows 7 - New builds
Replies: 5
Views: 564

Re: Ado : Field Definition

... specifications to create a table and execute the sql statement. If we write an application to work with different databases, we need to write conditionally different sql statements. FW Ado functions simplify this task. We can use the function: FWAdoCreateTable( cTable, aCols, oConnectionObject, ...
by nageswaragunupudi
Fri Jan 26, 2018 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ado : Field Definition
Replies: 1
Views: 804

Re: xBrowse Font Problem

... produce software to run on all OS. If we do not assign our own font to the dialog, then for each dialog and control, we need to define the width conditionally on the basis of the OS. For example, the above code needs to be changed something like:    DEFINE DIALOG oDlg SIZE If( IsWindows10() ...
by nageswaragunupudi
Fri Jan 06, 2017 10:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Font Problem
Replies: 14
Views: 3184

Default font under Win 8 and 10

... for apps running under Windows 8 and 10 state that they should be using the font Segoe UI. I am wondering how we can do this with FW without conditionally assigning a new font to every window and dialog. I am interested to know how font inheritance works. If, for instance, we assign a new ...
by James Bott
Sun Aug 14, 2016 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Default font under Win 8 and 10
Replies: 11
Views: 3473

Re: FWH64

... far, and to be honest haven't revisited it in a while. I usually protect this at runtime as follows, but it is just as easy to use an #ifdef to to conditionally hide this code snippet at compile time. IF ! Is64bitApp()   ::windows[ cWindowName ]:aMinMaxInfo := { ;  ...
by rhlawek
Fri Mar 18, 2016 11:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH64
Replies: 110
Views: 25128

Re: xBrowse Editing Error - numeric values rounding

... with xHarbour and Harbour. I am looking into xbrowse code and yet to come up with a satisfactory answer. Meanwhile I suggest a workaround to conditionally use picture clause for numeric values. I shall post this code soon. Please give us a little more time.
by nageswaragunupudi
Wed Sep 04, 2013 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Editing Error - numeric values rounding
Replies: 10
Views: 3034

Re: FiveWin Web Interface

<!--[if lte IE 8]> This line detects if you are using IE, maybe can be used conditionally to be used only on IE... and not in Chrome... Same for using two different .CSS files... <!--[if lte IE 9]><!DOCTYPE HTML PUBLIC "-//W3C//DTD ...
by Bayron
Sun Oct 16, 2011 8:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWin Web Interface
Replies: 78
Views: 19694

Re: Font release

... . It is always a safe practice to create fonts at the entry point and release them at the exit point and to avoid creation in a routine that is conditionally executed. This practice greatly reduces the chance of obscure possibility of non-release of resources, which can be too difficult to debug. ...
by nageswaragunupudi
Sat Sep 11, 2010 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Font release
Replies: 10
Views: 1408

Re: Also for Tree on the Xbrowse for Mr Rao

... ::oTreeItem:lOpened, aBmp[ 1 ], aBmp[ 2 ] ) ) } You can provide your own codeblock to show the bitmap you want conditionally.
by nageswaragunupudi
Tue Jun 01, 2010 12:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Also for Tree on the Xbrowse for Mr Rao
Replies: 5
Views: 1285

Re: A Database Design Question

... on doctors or staff doctors etc to proceed nearly as quickly as if they were in separate tables This would be my personal approach too. Can I conditionally add records to an index? It would be wonderful if a person record that will only function as a patient could just update the appropriate ...
by nageswaragunupudi
Mon Mar 01, 2010 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Database Design Question
Replies: 7
Views: 1898

A Database Design Question

... quickly as if they were in separate tables. My index count will go up by 2 so time to add a patient will increase slightly. Some questions: Can I conditionally add records to an index? It would be wonderful if a person record that will only function as a patient could just update the appropriate ...
by xProgrammer
Mon Mar 01, 2010 2:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Database Design Question
Replies: 7
Views: 1898

Re: color fill xbrowse

1) If we want to color the entire browse area, oBrw:bClrStd := { || { <nForeClr>, <nBackClr > } } 2) If we want to conditionally color one or some rows, oBrw:bClrStd := { || If( <lCondition>, { <nForeClr_1>, <nBackClr_1 }, { <nForeClr_2>, <nBackClr_2 ...
by nageswaragunupudi
Sun Jul 19, 2009 9:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: color fill xbrowse
Replies: 2
Views: 384

... the features we have built in: - exact, wysiwyg preview - Save to DOC (Word) and RTF files - Save to clipboard - Save-to-file possibility: you can conditionally store your printouts to various graphic formats like JPG, BMP etc. - 4/6/8 page preview - multilingual: it supports English, Spanish, ...
by Otto
Sat Aug 02, 2008 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: What about a report ?
Replies: 4
Views: 1115

Mr Otto
Great Job
Do you mind sharing how you have done it ?
I am also looking for another feature. Conditionally paint or not to paint row divider lines for a particular column. Have you thought about it ?
by nageswaragunupudi
Sat Jan 19, 2008 9:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser power
Replies: 4
Views: 961

... unchecked. Load the bitmaps: hChecked:=loadbitmap( getresources(),"checked") hUnchecked:= loadbitmap( getrources(),"unchecked") Define the bitmaps conditionally in the listbox definition: @0,0 listbox oLbx fields date, description, ; if(empty(::oTask:completed),hChecked,hUnchecked) Then you have ...
by James Bott
Thu Jun 29, 2006 5:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Controls in Listbox
Replies: 5
Views: 1437

Return to advanced search