bb.donnay-software.com

Donnay Software Web Forums
It is currently Sun May 31, 2020 12:11 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Apr 23, 2016 5:22 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4125
Location: Boise, Idaho USA
Quote:
d:\exp20\Samples\Touchscr\test.prg -> Line 23 /24 ";"


Fixed. This was a test program for me. It should have been removed from the samples.

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
PostPosted: Sat Apr 23, 2016 5:27 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4125
Location: Boise, Idaho USA
Quote:
d:\exp20\Samples\Xbrowse\Xbrowse.prg -> unresolved external symbol DC_XBROWSE

This class was moved from dclip1.dll to dclip2.dll. I forgot to update the project file.
Code:
[PROJECT]
    COMPILE       = xpp
    COMPILE_FLAGS = /q /w /rDCLIPX.LIB /rDCLIP1.LIB
    DEBUG         = yes
    GUI           = yes
    LINKER        = alink
    LINK_FLAGS    =
    RC_COMPILE    = arc
    RC_FLAGS      = /v
    XBROWSE.XPJ

[XBROWSE.XPJ]
    XBROWSE.EXE

[XBROWSE.EXE]
    XBROWSE.PRG
    ..\..\LIB\EXPRESS.RES
    dclip2.lib <<<<<<<<<<<<<<<<<<<<< ADD THIS

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
PostPosted: Sat Apr 23, 2016 5:31 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4125
Location: Boise, Idaho USA
Quote:
d:\exp20\Samples\VisualStyle\Style.prg -> Xbase++ v2.x #Pragma Library("xppwui.lib")


Sample requires Xbase++ 2.0.

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
PostPosted: Sun Apr 24, 2016 6:18 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4125
Location: Boise, Idaho USA
Quote:
d:\exp20\Samples\Touchscr\SCROLLBAR.EXE -> hm ... does scroll Browse but nothing happend to Scrollbars


That was a very old sample which was written before I added the SCROLLBARHEIGHT clause to @..DCBROWSE.
Replace SCROLLBAR.PRG with the below code:
Code:
#INCLUDE "dcdialog.CH"

PROC appsys
RETURN

* ------------

FUNCTION Main()

LOCAL GetList[0], GetOptions, oBrowse, aDir, aBrowPres

aBrowPres := ;
    { ;
      { XBP_PP_COL_DA_ROWHEIGHT, 30 }, /* Row Height       */  ;
      { XBP_PP_COL_HA_HEIGHT, 20 },    /* Header Height    */  ;
      { XBP_PP_COL_FA_HEIGHT, 10 }     /* Footer Height    */  ;
    }

aDir := Directory()

@ 0,0 DCBROWSE oBrowse DATA aDir SIZE 80,20 ;
   PRESENTATION aBrowPres ;
   RESIZE DCGUI_RESIZE_RESIZEONLY ;
   SCROLLBARHEIGHT 30 ;
   FONT '20.Arial'

FOR i := 1 TO 10
  DCBROWSECOL ELEMENT i HEADER Alltrim(Str(i)) WIDTH 5 PARENT oBrowse
NEXT

DCGETOPTIONS RESIZE

DCREAD GUI FIT OPTIONS GetOptions TITLE 'Scrollbars'

RETURN nil

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
PostPosted: Sun Apr 24, 2016 6:25 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4125
Location: Boise, Idaho USA
Many of the \exp20\samples\touchscr\ samples are obsolete.

Delete all the files in that folder and replace them with the files in the attached zip.


Attachments:
TouchScr.zip [355.55 KiB]
Downloaded 387 times

_________________
The eXpress train is coming - and it has more cars.
Top
 Profile  
 
PostPosted: Mon Apr 25, 2016 6:24 am 
Offline
User avatar

Joined: Wed Feb 24, 2010 3:44 pm
Posts: 1183
THX for your Answer. i will make more Test next Week after User Meeting ( have to prepare my Session )

_________________
greetings by OHR
Jimmy


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group