Search found 40 matches: snipit

Return to advanced search

Re: Creating a silent file to .pdf

... position based on what ever printer is used .. I just do not know where to start to retrofit this code to create a FWHARU pdf .. here is a small snipit of code Func _ReqPrint1( nView,oDlg,oSay,cSay,oRsTrav, cToPdf, lIsRunning )     // cToPrfREQUEST FWHARULocal oPrintLocal oFont8,oFont8b,oFont10,oFont10b,ofont12ib,oFont12b,oFOnt14,oFont24b,oFont10d,oFont10iLocal ...
by Rick Lipkin
Thu Sep 10, 2020 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a silent file to .pdf
Replies: 18
Views: 2193

Re: Faster way then append from SDF

Marc Here is a snipit from a Find and replace file utility I wrote that opens any text file you like .... hope you get the gist on how to use .. Rick Lipkin Do While .not. Eof()       cFILE := ALLTRIM( A->FileName ...
by Rick Lipkin
Fri Feb 15, 2019 11:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172

Application security and Code review

... in various parts of the Hex... however Aspack totally removes any readable text: http://i66.tinypic.com/2q34waq.jpg Here is a snipit of the LDAP code which I shared with the network admin : Domain  := "LDAP://"+alltrim(cDomain)cConnect := "Active Directory ...
by Rick Lipkin
Wed Oct 11, 2017 2:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Application security and Code review
Replies: 15
Views: 4604

Re: Exempt certain xBrowse rows from MakeTotals()

To All Inspired by Reinaldo's suggestions .. here is the final snipit of code that works for both the exemption from MakeTotals() and to color each Row .. notice, the key to the row color was to color each cell rather than by row .. as Reinaldo pointed ...
by Rick Lipkin
Wed Aug 19, 2015 6:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Exempt certain xBrowse rows from MakeTotals()
Replies: 8
Views: 4155

Re: Need expert comment

... pretty. (2) using blob to store .rtf as file (could be easier) to send binary via sql (using ADS) command. But I still need to test this in my old snipit.
by fraxzi
Thu Oct 09, 2014 3:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need expert comment
Replies: 3
Views: 805

Re: xBrowse in cell of other xbrowse

... on the cell you wish to activate and use the Pre and Post code blocks to fire off a user defined function to do anything you want. In this example snipit from an invoicing browse .. I am editing the Stock Number cell and calling out a function InvtLook() to verify the part number against inventory... ...
by Rick Lipkin
Tue Sep 23, 2014 1:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse in cell of other xbrowse
Replies: 4
Views: 923

Re: xBrowse cláusula (asi se dice?) FIELDS

Mario Consider this code .. a bit different approach than your example .. code snipit using ADO and not DbfCdx .. however the logic for adding new fields is the same. Rick Lipkin REDEFINE xBROWSE oLbxA            ;         RECORDSET oRsCust           ;         COLUMNS ...
by Rick Lipkin
Wed Feb 26, 2014 2:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse cláusula (asi se dice?) FIELDS
Replies: 8
Views: 1532

TFolderex on mdichild is not painted correctly

... I have tried the obvious with ON PAINT and to refresh the Folder ON INIT .. nothing works .. here is the snipit of code .. DEFINE ICON oICO RESOURCE "CUSTOMER"DEFINE WINDOW oWndChild              ;       MDICHILD                      ;       FROM ...
by Rick Lipkin
Tue Oct 15, 2013 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TFolderex on mdichild is not painted correctly
Replies: 25
Views: 15701

Re: create table SQL Server

Lucas Here is a snipit from one of my install programs .. Rick Lipkin Try     oCn  := CREATEOBJECT( "ADODB.Connection" )  Catch     Saying := "Could not create an ADO ...
by Rick Lipkin
Fri Aug 16, 2013 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create database SQL Server
Replies: 5
Views: 972

Re: clear IMAGE

Lucas Here is a snipit of code I use for Images with some help and advice from our good friend Uwe. Have a look at how the image is defined with oImage and bPainted then deleted with the function DelImage() Rick Lipkin // imagesREDEFINE ...
by Rick Lipkin
Thu Jul 18, 2013 5:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: clear IMAGE
Replies: 6
Views: 1141

Re: xBrowse - dumb question

... do that? 3. Also related to ADO, when I exit a data entry and return to recordset, how do I move cursor to record that was just selected. A small snipit of code .. on Add .. assign a variable to your rows primary key then moveFirst and Find your primary key .. then oLbx:ReFresh() .. That will ...
by Rick Lipkin
Wed Jun 26, 2013 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - dumb question
Replies: 5
Views: 1014

Re: terminate MDI child windows with <vk_escape>

Don

This code snipit should work..

Rick Lipkin

Code: Select all  Expand view

   // key handler to trap key strokes  ESC to quit  //
   oWind:bKeyDown := {|nKey| IF(nKEY = 27, oWIND:END(), ) }
 
by Rick Lipkin
Thu May 02, 2013 7:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: terminate MDI child windows with <vk_escape>
Replies: 2
Views: 606

Combobox Diff with Style CBS_DROPDOWN and CBS_DROPDOWNLIST

... { "Contact Person","Sales Rep" } ;         when cMode <> "V" COLOR CLR_BLACK,14869218  Here is the snipit from the Resource file with the style definitions for each example : COMBOBOX 153, 78, 21, 181, 33, CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP  Screen ...
by Rick Lipkin
Sat Sep 29, 2012 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Combobox Diff with Style CBS_DROPDOWN and CBS_DROPDOWNLIST
Replies: 5
Views: 1259

Re: https POST

... search and interrogated the results. When 'scraping the page' .. I found what I was looking for was the Outertext, not the InnerText .. here is a snipit of the code .. notice the 5th line. Lots more to share if I can help! Rick Lipkin      cSAY := "Gathering product information "    ...
by Rick Lipkin
Tue Jul 31, 2012 4:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: https POST
Replies: 11
Views: 2688

Re: xbrowse

... and there is .. the onPreEdit fires once the cell has been activated and the onPostEdit fires as the last event when you leave the cell. Here is a snipit of code I use in an invoicing xBrowse app. Rick Lipkin // part numberoLbxB:aCols[3]:bEditWhen   := { || If(oRsDetail:fields("LockedDown"):Value ...
by Rick Lipkin
Mon Jul 23, 2012 12:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse
Replies: 3
Views: 793
Next

Return to advanced search