topic
stringlengths
1
63
text
stringlengths
1
577k
xBrowse-Conditional-Error after Recompile with FWH 9.08 ?
A new FWH 9.08 build is already available, Rao, many thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xBrowse-Conditional-Error after Recompile with FWH 9.08 ?
Thanks Mr Antonio Revised build works fine with resources. Mr MFG [quote:2r1jhvru]the dialog freezes once the mouse without any click was over the xbrowse![/quote:2r1jhvru] Can you please let me know if you are still experiencing this problem ? I have not observed this when I quickly tested with testxbr3.prg in the samples folder.
xBrowse-Conditional-Error after Recompile with FWH 9.08 ?
Thanks, I found also the solution for the freezing. But a other problem is the black vertical line at the beginn of the datarange. In paint() in the part for "Rowselector" there is a nCol -- commented out. If I activate this, all is ok. This line should not at all painted!!?? And on a edit-cell with a listbox there are not visible the datas in this row, when I move the mouse over the listbox! In header and footer the col-line after the recordselector are too left. And the col-line after the recordselector on the part without data are not shown, if the lColDividerComplete is .T.
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Hello, A friend of mine still needed a Birthday-present for his Son. I created a xBrowse-memory-game, because his Son likes this Game very much. BRAINTRAINING ( not only for Kids ) The Computer-game gives more Fun than the Card-game, because of many extra Functions. There is still some Finetuning needed, because it is a Game for Kids and must be hard protected against Crashes. Functions : [color=#FF0000:33i3ttwa]1. [/color:33i3ttwa]Up to 4 Players There is a Counter for Trials and Goals. Sample : Player 3 means to know Image-positions. If he finds a Image-pair he gets a Goal, otherwise + 1 to the Trial-counter [color=#FF0000:33i3ttwa]2.[/color:33i3ttwa] Game-creator change any of the 15 Images of a Game [color=#FF0000:33i3ttwa]3.[/color:33i3ttwa] Rearange Images in Preview- or Cover-mode You can define the Rearange-preview ( Image hidden or shown ) The selected Status is saved to a INI Hidden, without Preview is very difficult, because You don't know any Positions after the Image-rearange. [color=#FF0000:33i3ttwa]4.[/color:33i3ttwa] Quick Game-changer from Mainscreen There are 10 Quick-buttons, to change the Game. Maybe You like it The Overview : I created 5 of 10 possible Games. 1. A Image-game [img:33i3ttwa]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory1&#46;jpg[/img:33i3ttwa] The Usage : Find a pair of equal Images. Equal cards will stay visible, unequal cards will be covered again with the next Player-selection : [img:33i3ttwa]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory5&#46;jpg[/img:33i3ttwa] 2. A Brush-game [img:33i3ttwa]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory2&#46;jpg[/img:33i3ttwa] 3. A Button-game ( very difficult, because You have to remember Color and Symbol ) [img:33i3ttwa]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory3&#46;jpg[/img:33i3ttwa] 4. Using Symbols [img:33i3ttwa]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory6&#46;jpg[/img:33i3ttwa] 5. Also very difficult [img:33i3ttwa]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory7&#46;jpg[/img:33i3ttwa] The Game-creator [img:33i3ttwa]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory4&#46;jpg[/img:33i3ttwa] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Nice job.
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Looks nice Uwe
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Nice job... Antonio must insert this game into package !!!
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Silvio, No Problem to include it. It is the decision of Antonio. 1. It is a nice Sample to show, how xBrowse can master different Image-situations. 2. A nice Entertainment for the Family and their Children. I think everybody knows that Game and Rules. Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
I added some new Functions : Full new [color=#FF0000:2k1nrvs3]Release 2.3[/color:2k1nrvs3] Download ( 7.3 MB ) 12 created Games included [color=#FF0000:2k1nrvs3]NO Updates to Install !!![/color:2k1nrvs3] <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/memory3.zip">http://www.pflegeplus.com/fw_downloads/memory3.zip</a><!-- m --> Before You start, You have to [color=#FF0000:2k1nrvs3]HIDE the Images [/color:2k1nrvs3] ( You can define the hidden-status at STARTUP, in the Config-section ) Player-mode works different. There You have to choose the next Player to select a Image-pair. A [color=#FF0000:2k1nrvs3]Training-mode [/color:2k1nrvs3] allows to use just 1 Player ( all Player-buttons are hidden ). After the 3. Image-selection, eaqual Images ( pair ) will stay on Screen otherwise covered again. ( No Player to be selected ) also possible wrong usages are blocked with Messages. A single Player ( training-mode) [img:2k1nrvs3]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory8&#46;jpg[/img:2k1nrvs3] The new Config-section [img:2k1nrvs3]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory9&#46;jpg[/img:2k1nrvs3] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Hello, Nice job. Please revise: 1. game icon. 2. prevent to expand the window of the game. 3. points counter. [img:2i2q55cb]http&#58;//www&#46;ctkmedia&#46;pl/fivetechsupport/Memory_001&#46;jpg[/img:2i2q55cb] Regards from Poland Christian T. Kurowski
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Christian, thanks for the Response. I will have a look at this. [color=#0000FF:1e2zr88o]2. prevent to expand the window of the game.[/color:1e2zr88o] DEFINE DIALOG oDlg1 FROM 5, 0 TO 695, 1010 TITLE "MEMORY 1.1 / 12-Sept-2012" PIXEL [color=#00BF40:1e2zr88o]oDlg1:nStyle += (WS_MINIMIZEBOX + WS_MAXIMIZEBOX)[/color:1e2zr88o] Got it working with the Solution from Mr. Rao !!! Sound will be included in next Release. A little Bonus ( Game6 ) : ( something, the Kids will like ) Download : ( please move the included DBF to the Main-directory ) <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/game6.zip">http://www.pflegeplus.com/fw_downloads/game6.zip</a><!-- m --> Started with first Changes : Added a Sysmenu, stopped resizing, added Sound and a Reset-button ( Training-mode ) some more will follow. [img:1e2zr88o]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory10&#46;jpg[/img:1e2zr88o] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
The Final-release ( I hope ) My first try, to create a Game. Searching in the Internet, I found only Online-Solutions. Also they didn't offer all the different Settings, I defined in the Setup-section. Creating Your own Sets, Sound-define, Game-speed, Auto-player-selection, Training-mode .... Many new Functions added : [color=#0000FF:3qfyo9ki]1. Soundsupport 2. Delay-time to display selected Images -- a Value of 1500 is normal. With Kids, a Value of 2500 will be OK ( slow ) 3. System-menu added 4. Autochange of Player after the 2. selected Image -- the activated Player changes to red -- no Player to be clicked anymore -- You can define the Start-player with Button-click 5. many new Game-sets added 6. New Preview-mode added 7. The reached Points calculated in %[/color:3qfyo9ki] [img:3qfyo9ki]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory11&#46;jpg[/img:3qfyo9ki] The Config-section : [img:3qfyo9ki]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory12&#46;jpg[/img:3qfyo9ki] New Sets : Buildings, Cars, Fantasy, Bridges [img:3qfyo9ki]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory13&#46;jpg[/img:3qfyo9ki] Flowers and Birds [img:3qfyo9ki]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory14&#46;jpg[/img:3qfyo9ki] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
New : Different Languages and Game-scrolling ( Maybe to include a Language file, to define any Language ? ) Preview / test-mode selected from Setup-dialog completed. Changing a Game, breaks the Test-mode ( Training-mode is used ). [color=#0000FF:1kd8gzdi]A Question : what is the best Solution for Multilanguage-support ( see words on Bottom ) ? Using a INI, where the user can translate the used words and saving the Fields to a Array, or another, better Solution. I couldn't find something in the Forum.[/color:1kd8gzdi] INI-file German-translation : [color=#0000FF:1kd8gzdi][Language] Game=Spiel Trials=Versuche Score=Punkte Select=Auswahl Player=Spieler Training=Training Reset=Reset Config=Einstellung Create=Neu Show=Zeige Next=Weiter Previous=Zurück Button=Button There are missing=Es fehlen Images=Bilder Brush:=Brush Cover=Rückseite Card=Karte Please:=Bitte Hide=verberge Preview=Vorschau Error=Fehler No file=Keine Datei Attention=Achtung Path=Pfad TickCount=Verwilzeit Option=Option Visible=sichtbar Hide=versteckt Rearange Mode=Neuwahl Reset=zurücksetzen Save=speichern Exit=Abbruch Quit=Ende Sound=Sound On=An Off=Aus Display=Anzeige Time=Zeit Mode=Modus[/color:1kd8gzdi] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
a little error here error.log Application =========== Path and name: C:\memory\Memory.exe (32 bits) Size: 2,370,048 bytes Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 9445) FiveWin Version: FWHX 12.07 Windows version: 5.1, Build 2600 Service Pack 3 Time from start: 0 hours 0 mins 22 secs Error occurred at: 09/21/12, 10:38:03 Error description: Error BASE/1004 Class: 'NIL' has no exported method: SETARRAY Args: [ 1] = U [ 2] = A { ... } Stack Calls =========== Called from: => SETARRAY( 0 ) Called from: .\Memory.PRG => SHOW_CFG( 1564 ) Called from: .\Memory.PRG => MAIN( 100 ) System ====== CPU type: Intel(R) Pentium(R) 4 CPU 2.40GHz 2400 Mhz Hardware memory: 992 megs Free System resources: 90 % GDI resources: 90 % User resources: 90 % Windows total applications running: 16 1 , C:\Programmi\3Com\3Com Wireless USB Utility\Wlan.exe 2 , C:\Programmi\Gadwin Systems\PrintScreen\PrintScreen.exe 3 , C:\Programmi\Messenger\msmsgs.exe 4 , C:\WINDOWS\Explorer.EXE 5 , C:\WINDOWS\system32\mstsc.exe 6 AvgTrayMainWnd, C:\Programmi\AVG\AVG2012\avgtray.exe 7 BluetoothNotificationAreaIconWindowClass, C:\WINDOWS\system32\rundll32.exe 8 Easy Start Button Definition, C:\WINDOWS\system32\ESB.exe 9 HSP56 SpkPhone, C:\WINDOWS\system32\pctspk.exe 10 Image-Error, C:\memory\Memory.exe 11 TF_FloatingLangBar_WndTitle, C:\WINDOWS\system32\ctfmon.exe 12 TouchPad object helper window, C:\Programmi\Synaptics\SynTP\SynTPEnh.exe 13 Touchpad driver helper window, C:\Programmi\Synaptics\SynTP\SynTPLpr.exe 14 UpdaterService, C:\Programmi\Ask.com\Updater\Updater.exe 15 khooker, C:\WINDOWS\system32\khooker.exe 16 test2, C:\WINDOWS\htpatch.exe Variables in use ================ Procedure Type Value ========================== SETARRAY Param 1: A Len: 5 Local 1: A Len: 1 Local 2: U Local 3: U SHOW_CFG Local 1: O Class: TDIALOG Local 2: O Class: TBRUSH Local 3: A Len: 21 Local 4: U Local 5: N 1 Local 6: U Local 7: U Local 8: U Local 9: U Local 10: U Local 11: U Local 12: N 1 Local 13: N 1 Local 14: U Local 15: L .F. Local 16: A Len: 17 Local 17: A Len: 29 Local 18: O Class: TXBROWSE Local 19: L .F. Local 20: O Class: TSELEX Local 21: O Class: TSELEX Local 22: N 1 Local 23: A Len: 4 Local 24: N 2 MAIN Local 1: U Local 2: U Local 3: U Local 4: U Local 5: L .F. Local 6: A Len: 0 Local 7: U Local 8: U Local 9: U Local 10: U Local 11: U Local 12: U Local 13: U Local 14: U Local 15: U Local 16: U Local 17: U Local 18: A Len: 40 Local 19: O Class: TIMAGE Linked RDDs =========== DBF DBFFPT DBFBLOB DBFCDX DBFNTX DataBases in use ================ 1: => GAMES RddName: DBFNTX ============================== RecNo RecCount BOF EOF 2 11 .F. .F. Indexes in use TagName Relations in use Classes in use: =============== 1 ERROR 2 HASHENTRY 3 HBCLASS 4 HBOBJECT 5 TINI 6 TBRUSH 7 TWINDOW 8 TCONTROL 9 TBITMAP 10 TIMAGE 11 TFONT 12 TDIALOG 13 TSAY 14 TBTNBMP 15 TXBROWSE 16 TXBRWCOLUMN 17 TSELEX 18 TSCROLLBAR 19 TRECT 20 TREG32 Memory Analysis =============== 274 Static variables Dynamic memory consume: Actual Value: 0 bytes Highest Value: 0 bytes 
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Marco, Thank You very much for the Response some fixes with new Multilanguage-suport Language.ini ( English ) German.ini ( German ) A INI-sample : [color=#0000FF:eeojd3cf][Language] _Game=Spiel _Trials=Versuche _Scores=Punkte _Select=Auswahl _Player=Spieler _Training=Training[/color:eeojd3cf] Button-text can have a included Accelerator & Now You can rearange the Images in covered mode. this is the hardest and the chance will be equal for all Players because there is no Information of any Image-Positions. Download ( Update 2.3 ) 1.3 MB : <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/MemUpd2.zip">http://www.pflegeplus.com/fw_downloads/MemUpd2.zip</a><!-- m --> Full Version 2.3 is updated as well !!! Download ( 7.3 MB ) : <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/memory3.zip">http://www.pflegeplus.com/fw_downloads/memory3.zip</a><!-- m --> [img:eeojd3cf]http&#58;//www&#46;pflegeplus&#46;com/pictures/memory15&#46;jg[/img:eeojd3cf] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Hello, here are some Game-extensions. Download : ( only EXE and modified Game.dbf updated ) Games.dbf includes a new field TITLE, to define a game. Just replace these files in Your old installed version. Because of the new browser-selection, You can create Your own games as many You like. Create a set of family-photos or any other favorite Images. [color=#0000FF:1eimezrx][b:1eimezrx]Some more ideas and improvements are welcome.[/b:1eimezrx][/color:1eimezrx] I will create some nice backgrounds, to change the overall optic. <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/Memory4.zip">http://www.pflegeplus.com/fw_downloads/Memory4.zip</a><!-- m --> Whats new : 1. select a game from a Browser [img:1eimezrx]http&#58;//www&#46;pflegeplus&#46;com/pictures/Memory20&#46;jpg[/img:1eimezrx] 2. Add Titles 3. Add / delete Games to the browser Adding a new Game : a) Create a subdirectory and include the images b) Add the game with + to the browser c) define the 15 Images, brush and cover. [color=#FF0000:1eimezrx]be shure it is complete ( 15 selected cards, background and cover ) before using the < save-button > !!! [/color:1eimezrx] Using - delete, only deletes a game from the browser, nothing from harddisk [img:1eimezrx]http&#58;//www&#46;pflegeplus&#46;com/pictures/Memory21&#46;jpg[/img:1eimezrx] Best Regards Uwe <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
New Functions added : [color=#0000FF:1ho7mk6k][b:1ho7mk6k]1. changed MARQUESTYLE to 0,to show the brush of a focused cell with a transparent image 2. Skinpainter added. Now You can create / define Your own backgrounds, 3. With the new xBrowse-Gameselector, You can add as many of Your own Game-creations You like. 4. A new LANGUAGE.INI structure added. Now Buttons with Accelerators are defined. 5. A little bug found, saving the Tickcounter. The Delay-time can be selected from a Slider-option[/b:1ho7mk6k][/color:1ho7mk6k] Downloads splitted in 3 Sections. Only updated parts needed to download The used Directory-structure : [b:1ho7mk6k][color=#0000FF:1ho7mk6k]Main-directory ---- System ---- Game 1 ---- Game 2 ... ...[/color:1ho7mk6k][/b:1ho7mk6k] [size=150:1ho7mk6k]Downloads :[/size:1ho7mk6k] [b:1ho7mk6k][color=#FF0000:1ho7mk6k]1. System[/color:1ho7mk6k][/b:1ho7mk6k] <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/MemoryS1.zip">http://www.pflegeplus.com/fw_downloads/MemoryS1.zip</a><!-- m --> [b:1ho7mk6k][color=#FF0000:1ho7mk6k]2. System-Media-files[/color:1ho7mk6k][/b:1ho7mk6k] <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/MemoryM1.zip">http://www.pflegeplus.com/fw_downloads/MemoryM1.zip</a><!-- m --> 3. Games <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/MemoryU1.zip">http://www.pflegeplus.com/fw_downloads/MemoryU1.zip</a><!-- m --> Changing the background : 1. Select SETUP [img:1ho7mk6k]http&#58;//www&#46;pflegeplus&#46;com/pictures/MemoryU1&#46;png[/img:1ho7mk6k] 2. select the NEW added button [b:1ho7mk6k]< Background >[/b:1ho7mk6k] [img:1ho7mk6k]http&#58;//www&#46;pflegeplus&#46;com/pictures/MemoryU2&#46;png[/img:1ho7mk6k] The Skinpainter define any background You like : Color, Gradient, Brush or Image 3 different fontcolors added : Buttons and text, Scores and Trials some new background-images added. [img:1ho7mk6k]http&#58;//www&#46;pflegeplus&#46;com/pictures/MemoryU3&#46;png[/img:1ho7mk6k] Maybe some more Languages ? In section < Button > You can add a Accelerator !!! The language-file must be renamed to LANGUAGE.INI The GERMAN-translation : [color=#0000FF:1ho7mk6k][Text] _Game=Spiel _Trials=Versuche _Scores=Punkte _Select=Auswahl _Player=Spieler _Training=Training _Reset=z&urück _Config=Ein&stellung _Create=&Neu _Show=&Zeige _Next=Weiter _Previous=Zurück _Button=Button _There are missing=Es fehlen _Images=Bilder _Brush=Brush _Cover=Rückseite _Card=Karte _Please=Bitte _Hide=&verberge _Preview=Vorschau _Error=Fehler _No file=Keine Datei _Attention=Achtung _Path=Pfad _TickCount=Verweilzeit _Option=Option _Visible=sichtbar _Rearange Mode=Neuwahl _Save=speichern _Exit=&Abbruch _Quit=&Ende _Sound=Sound _On=An _Off=Aus _Display=Anzeige _Time=Zeit _Mode=Modus _Background=Hindergrund _Cardback=Kartenrückseite _Text=Text _Color=Farbe _Skin=Skin _Gradient=Gradient _Position=Position _Direction=Richtung _Horizontal=Horizontal _Vertical=Vertikal _Reserve 1=Reserve 1 _Reserve 2=Reserve 2[/color:1ho7mk6k] [color=#008040:1ho7mk6k][Button] _Config=&Config _Hide=&Verstecke _Create=&Erzeuge _Show=&Zeige _Save=&Speichern _Brush=&Brush _Image=&Bild _Cover=&Cover _Color=&Farbe _Text-color=Text-Farbe _Reset=&Reset _Backgrd=&Hintergrd. _Exit=&Abbruch _Quit=En&de[/color:1ho7mk6k] Maybe a little Christmas-present for Your kids, using[color=#0000FF:1ho7mk6k] [b:1ho7mk6k]Family-photos [/b:1ho7mk6k][/color:1ho7mk6k]as a game ? Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Memory something to Relax ( UPDATE 3.1 new )
Update Release 3.1 with some new options, recompiled I noticed [b:3h4w584n]2409[/b:3h4w584n] views, it seems to be interesting. Trainer-modus with a saved HIGHSCORE Added a xBrowse-border / frame. The best is 15 ( 15 pairs a point on each try ) My best was 32 I reached for the moment. You can add Your own games from inside the config-section ( used image-size 120 x 120 pixel ) A good brain-training !!! Some new Game-styles added just select one of the [color=#0000FF:3h4w584n][b:3h4w584n]14[/b:3h4w584n][/color:3h4w584n] predefined games Change from TRAINER-mode to 1, 2, 3 or 4 players Just remember with LANGUAGE.ini, You can change / define the language [color=#FF0000:3h4w584n][b:3h4w584n]More ideas are welcome !!![/b:3h4w584n][/color:3h4w584n] DOWNLOAD : <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Memory7.zip">http://www.pflegeplus.com/DOWNLOADS/Memory7.zip</a><!-- m --> [img:3h4w584n]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Memory17&#46;jpg[/img:3h4w584n] [img:3h4w584n]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Memory18&#46;jpg[/img:3h4w584n] best regards Uwe <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
xBrowse-TMySql sample?
Greetings to all. Can any of you show me an example tmysql xbrowse in which the xbrowse be refreshed after a consultation? Let me explain: When I use oQuery: locate (), achieving the goal, but is too slow. If I use oQuery: Seek (), the key value is found, but the xBrowse not select the line that corresponds. Even moving the cursor. Appreciate very much this small example TMySql and xBrowse. thanks <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->
xBrowse-TMySql sample?
Maybe an oBrw:refresh() might work??
xBrowse-TMySql sample?
obrow:=bseek:={|v|odb2:SEEK(v,,{oquery:itemid+oquery:id2})} tmysql query class METHOD Seek(Value,lSoftSeek,cFieldNames,llast) METHOD Seek( xValue,lSoftSeek,cFieldNames,llast) CLASS TMySQLQuery local nstart,nend,nretry:=0,Xvalue0:=Xvalue,ctype:=VALTYPE(xValue) default lSoftSeek to .t. DEFAULT llast TO .f. if ctype=="C" if len(xValue)<LEN(cvaltochar(if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames))) xValue:=PADR(xValue,len(cvaltochar(if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)))," ") end xValue:=UPPER(xValue) xValue0:=UPPER(xValue0) end ::lFound := .f. ::GoTop() if RIGHT(UPPER(RIGHT(::cquery,8)),4)=="DESC" if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)<xValue if !lSoftseek ::GoBottom() end return ::lFound end if valtype(xValue)=="C" ::GoBottom() if left(if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames)),len(Xvalue0))==Xvalue0 ::lfound:=.t. return ::lfound else ::GoTop() end end while .t. nStart:=1 nEnd:=::lastrec() while nEnd-nStart>1 ::GoTo( nStart+int( (nEnd-nStart)/2)) if ctype<>"C" Do Case case if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)<xValue nend := ::nCurRow case if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue ::lFound := .t. exit case if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)>xValue nStart := ::nCurRow endcase else Do Case case if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))<xValue nend := ::nCurRow case if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))==xValue ::lFound := .t. exit case if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))>xValue nStart := ::nCurRow endcase endif enddo if ::lFound; exit; end ::GoTo(nStart) if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue ; ::lfound :=.t.; exit; end if ctype=="C" if left(if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames)),len(Xvalue0))==Xvalue0; ::lfound:=.t.; exit; end end ::GoTo(nEnd) if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue ; ::lfound :=.t.; exit; end if ctype=="C" if left(if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames)),len(Xvalue0))==Xvalue0; ::lfound:=.t.; exit; end end exit enddo if !::lFound.and.!lSoftseek; ::GoBottom(); end if ::lfound.and.llast while nEnd-nStart>1 ::GoTo( nStart+int( (nEnd-nStart)/2)) if ctype<>"C" if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)<xValue nend := ::nCurRow else // if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames))==xValue nStart := ::nCurRow end else if if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))<xValue nend := ::nCurRow else // if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames))==xValue nStart := ::nCurRow end endif enddo ::GoTo(nEnd) if ctype<>"C" if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)<xValue; ::GoTo(nStart); end else if if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))<xValue; ::GoTo(nStart); end endif end else if ctype=="C" if left(if(VALTYPE(cfieldnames)=="B",UPPER(cvaltochar(EVAL(cfieldnames))),UPPER(cvaltochar(&cFieldNames))),len(Xvalue0))==Xvalue0 ::lfound:=.t. return ::lFound end end if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)>xValue if !lSoftseek ::GoBottom() end return ::lFound end while .t. nStart:=1 nEnd:=::lastrec() while nEnd-nStart>1 ::GoTo( nStart+int( (nEnd-nStart)/2)) if ctype<>"C" Do Case case if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)>xValue nend := ::nCurRow case if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue ::lFound := .t. exit case if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)<xValue nStart := ::nCurRow endcase else Do Case case if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))>xValue nend := ::nCurRow case if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))==xValue ::lFound := .t. exit case if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))<xValue nStart := ::nCurRow endcase endif enddo if ::lFound; exit; end ::GoTo(nStart) if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue ; ::lfound :=.t.; exit; end if ctype=="C" if left(if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames)),len(Xvalue0))==Xvalue0; ::lfound:=.t.; exit; end end ::GoTo(nEnd) if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue ; ::lfound :=.t.; exit; end if ctype=="C" if left(if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames)),len(Xvalue0))==Xvalue0; ::lfound:=.t.; exit; end end exit enddo if !::lFound.and.!lSoftseek; ::GoBottom(); end if ::lfound.and.llast while nEnd-nStart>1 ::GoTo( nStart+int( (nEnd-nStart)/2)) if ctype<>"C" if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)>xValue nend := ::nCurRow else // if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue nStart := ::nCurRow end else if if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))>xValue nend := ::nCurRow else // if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)==xValue nStart := ::nCurRow end endif enddo ::GoTo(nEnd) if ctype<>"C" if if(VALTYPE(cfieldnames)=="B",EVAL(cfieldnames),&cFieldNames)>xValue; ::GoTo(nStart); end else if if(VALTYPE(cfieldnames)=="B",UPPER(EVAL(cfieldnames)),UPPER(&cFieldNames))>xValue; ::GoTo(nStart); end end end end Return ::lFound Shuming Wang
xBrowse-TMySql sample?
Hag, thanks for your reply. I did it but not worked: oQuery:Refresh() oBrw:Refresh() Shuming, I will try your modifications. Thank you very much.
xBrowse-TMySql sample?
obrow:=bseek:={|v|odb2:SEEK(v,,{oquery:itemid+oquery:id2})} Should be obrow:bseek:={|v|oquery:SEEK(v,,{||oquery:itemid})} Shuming Wang
xBrowse-TMySql sample?
Hello Shuming. Thank you for your interest in helping. I tried to create tmysql.lib, but I have problems. This is the first time I try to do it. In compiling this error is show: MAKE Version 5.2 Copyright (c) 1987, 2000 Borland C: \ XHARBOUR_1.21_6714_BCC582 \ BIN \ harbour.exe mysqlrdd.prg-q0-w-ES2-gc0-n-iC: \ XHARBOUR_1.21_6714_BCC582 \ include, C: \ XHARBOUR_1.21_6714_BCC582 \ TMYSQL \ MYSQL_SERVER_51 \ INCLUDE-o. \ OBJ \ mysqlrdd.c C: \ BCC582 \ BIN \ bcc32-c-O2-IC: \ XHARBOUR_1.21_6714_BCC582 \ include, C: \ XHARBOUR_1.21_6714_BCC582 \ TMYSQL \ MYSQL_SERVER_51 \ INCLUDE-DHB_OS_WIN_32_USED-o. \ OBJ \ mysqlrdd.obj. \ OBJ \ mysqlrdd . c Borland C + + 5.82 for Win32 Copyright (c) 1993, 2005 Borland . \ OBJ \ mysqlrdd.c: C: \ BCC582 \ BIN \ TLIB C: \ XHARBOUR_1.21_6714_BCC582 \ LIB \ mysql.lib - +. \ OBJ \ mysqlrdd.obj,, TLIB 4.5 Copyright (c) 1987, 1998 Borland International C: \ XHARBOUR_1.21_6714_BCC582 \ BIN \ harbour.exe tmysql.prg-q0-w-ES2-gc0-n-iC: \ XHARBOUR_1.21_6714_BCC582 \ include, C: \ XHARBOUR_1.21_6714_BCC582 \ TMYSQL \ MYSQL_SERVER_51 \ INCLUDE-o. \ OBJ \ tmysql.c tmysql.prg (226) Warning W0001 Ambiguous reference: 'MYSQL_NEWDECIMAL_TYPE' tmysql.prg (663) Warning W0001 Ambiguous reference: 'MYSQL_NEWDECIMAL_TYPE' tmysql.prg (763) Warning W0001 Ambiguous reference: 'MYSQL_NEWDECIMAL_TYPE' tmysql.prg (893) Warning W0001 Ambiguous reference: 'MYSQL_NEWDECIMAL_TYPE' tmysql.prg (1701) Warning W0001 Ambiguous reference: 'MYSQL_NEWDECIMAL_TYPE' tmysql.prg (2176) Warning W0001 Ambiguous reference: 'MYSQL_NEWDECIMAL_TYPE' tmysql.prg (2261) Warning W0001 Ambiguous reference: 'MYSQL_NEWDECIMAL_TYPE' 0 error No code generated ** Error 1 ** deleting. \ OBJ \ tmysql.c Later I modify Mysql.ch and compile without problems but when trying to compile the system, shows these errors: Compiled and Linking: [D: \ FAPSOFT \ NEWCONT32_MYSQL \ Wcont32.Exe] Running # 1 Executed at: 14:09:36 ================================================== ========== xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6717) Copyright 1999-2010, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m --> Compiling 'D: \ FAPSOFT \ NEWCONT32_MYSQL \ wcont32.prg' and Generating preprocessed output to 'D: \ FAPSOFT \ NEWCONT32_MYSQL \ wcont32.ppo' ... Lines 1090, Functions / Procedures 192 Generating C source output to 'D: \ FAPSOFT \ NEWCONT32_MYSQL \ wcont32.hrb' ... Borland C + + 5.82 for Win32 Copyright (c) 1993, 2005 Borland D: \ FAPSOFT \ NEWCONT32_MYSQL \ wcont32.hrb: Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external 'SQLAllocEnv' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLAllocConnect' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLExecDirect' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLDriverConnect' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLConnect' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLAllocStmt' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLDescribeCol' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLError' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLPrepare' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLFreeStmt' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLDisconnect' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLFreeConnect' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLFreeEnv' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLNumResultCols' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLFetch' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLGetInfo' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLSetConnectOption' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLSetStmtOption' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLGetConnectOption' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLGetStmtOption' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLSetCursorName' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLGetCursorName' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLRowCount' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLCancel' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLTransact' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLSetParam' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLExecute' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLParamData' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLPutData' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLExtendedFetch' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLSetPos' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLPrimaryKeys' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLGetDiagRec' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLStatistics' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLColumns' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLSpecialColumns' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLTables' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external 'SQLGetData' referenced from C: \ FWH1006 \ LIB \ FIVEHC.LIB | ODBC32X Error: Unresolved external '_HB_FUN_SQLVERSION' referenced from C: \ XHARBOUR_1.21_6714_BCC582 \ LIB \ MYSQL.LIB | tmysql End of process. MAKE Version 5.2 Copyright (c) 1987, 2000 Borland ** Error 2 ** deleting D: \ FAPSOFT \ NEWCONT32_MYSQL \ Wcont32.exe There were errors trying to build the application ================================================== ========== Verce v4.3 -> View Results compile and link v4.3 Juan Carlos Salinas Ojeda <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->, <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> Minatitlan, Veracruz. MEXICO And just Veracruz is beautiful! FiveWin for Harbour! I'm lost ...! Thank you for your good intentions. Greetings. Francisco
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
Hello,Here is the first xBrowse-Tool-versioncompiled with the new MinGW[img:gk7ku6rl]http&#58;//www&#46;pflegeplus&#46;com/pictures/ming7&#46;jpg[/img:gk7ku6rl]Download<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_download/BRWToolsMinGW1.zip">http://www.pflegeplus.com/fw_download/B ... MinGW1.zip</a><!-- m -->During the testing, there a few things a noticed :In file WINAPI.ch some lines have to be includedSS_CENTER 0ES_AUTOVSCROLL 64------------------------------In resources, you cannot use something like :Bricks BITMAP { '42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00' '00 00 1E 00 00 00 0F 00 00 00 01 00 04 00 00 00' '00 00 F0 00 00 00 C4 0E 00 00 C4 0E 00 00 00 00' '00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80' '00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80' '00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF' }you have to load the BMP's from disk like :Colors BITMAP "colors.bmp"-----------------------------------In borland-workshop it is possible to use boxes and framesI used them around the browsers.You have to delete them, because otherwise there is a compile error.[img:gk7ku6rl]http&#58;//www&#46;pflegeplus&#46;com/pictures/ming8&#46;jpg[/img:gk7ku6rl]I noticed : Borland saved a few times somethig like :BRWDESIGN DIALOG -30, 26, 515, 333with -30 there was a error and i had to change to 30Borland ignores the wrong value.That is for the moment, what i found out.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
Uwe,many thanks! Very usefull information <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
Antonio,can you give us a MAKE-sample, how it looks, using more than 1 file ?like BORLAND-sample :[code:2a6ttt71] PRG = \ VTools&#46;PRG \ VTools1&#46;PRG \ VTools2&#46;PRG \ VTools3&#46;PRG \ VTools4&#46;PRG \ btnbmp&#46;PRG \ errsysw&#46;PRG # C = \ # two&#46;C PROJECT &#58; VTools&#46;exe VTools&#46;exe &#58; $&#40;PRG&#58;&#46;PRG=&#46;OBJ&#41; $&#40;C&#58;&#46;C=&#46;OBJ&#41; VTools&#46;res echo off echo $&#40;BCDIR&#41;\bin\c0w32&#46;obj + > b32&#46;bc # OBJ-Liste # ------------- echo obj\VTools&#46;obj \ obj\Vtools1&#46;obj \ obj\Vtools2&#46;obj \ obj\Vtools3&#46;obj \ obj\Vtools4&#46;obj \ obj\btnbmp&#46;obj \ obj\errsysw&#46;obj, + >> b32&#46;bc [/code:2a6ttt71]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
what is MinGW?Thanks
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
Got my answer. Thanks
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
Uwe,In this thread I have posted a Linux makefile:<!-- m --><a class="postlink" href="http://www.fivetechsoft.com/forums/viewtopic.php?p=63668">http://www.fivetechsoft.com/forums/view ... hp?p=63668</a><!-- m -->It can be easily adapted for Windows gcc <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->"This is the FiveLinux Makefile. It has to be named as Makefile (first M uppercase). Its enough to run "make" from a terminal window, placed where the Makefile is located."
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
Hello,Here is a preview of a new update for both Versions.What is new :There is a new folder-page added.It is possible now, to create any backgrounds of thedialog in relation to the xBrowse-defines :( Gradient, mono-colors, brushes ... ),with a database-preview, how it looks all together.There are different selections : using the same colors like the xbrowse-header, or create a complete different background.The preview-dialog is adjusted to the size of the main-dialog.[img:1hwddgt9]http&#58;//www&#46;pflegeplus&#46;com/pictures/xBrw20&#46;jpg[/img:1hwddgt9][img:1hwddgt9]http&#58;//www&#46;pflegeplus&#46;com/pictures/xBrw21&#46;jpg[/img:1hwddgt9]RegardsUwe
xBrowse-Tools Borl. 3a + MinGW-Version 3a ( New Download )
Hello,Here are the new Versions for Borland and MinGWDownload :Borland-Version<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BRWTools4.zip">http://www.pflegeplus.com/fw_downloads/BRWTools4.zip</a><!-- m -->MinGW-Version<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BRWToolsMinGW2.zip">http://www.pflegeplus.com/fw_downloads/ ... MinGW2.zip</a><!-- m -->A new Folderpage for Dialog-backgrounds added.Any Combinations to the xBrowse-settings are possible :1. Use xBrowse-Header ( Horizontal or Vertical )2. Define new Gradients ( Horizontal or Vertical )3. Choose Mono-color4. Use Brush-Background[img:1zkymq9g]http&#58;//www&#46;pflegeplus&#46;com/pictures/xBrw30&#46;jpg[/img:1zkymq9g]A new database-preview[img:1zkymq9g]http&#58;//www&#46;pflegeplus&#46;com/pictures/xBrw31a&#46;jpg[/img:1zkymq9g]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools Version 1. e => Download ( Update )
Hello,I prepared the Browse-Tools for downloadMany new functions are added, but maybe there is stilla need for anything. The RC-File of the Tools is included ( maybe you can need resources ).Just give me a response.I noticed a small preview problem : Preview of cell-bmp and background-brush after selection.It will be fixed today. The release-version will be 1c.Download :<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BRWTools1.zip">http://www.pflegeplus.com/fw_downloads/BRWTools1.zip</a><!-- m -->Page 1[img:2v7xa88m]http&#58;//www&#46;pflegeplus&#46;com/pictures/BRW1&#46;jpg[/img:2v7xa88m]Page 2[img:2v7xa88m]http&#58;//www&#46;pflegeplus&#46;com/pictures/BRW2&#46;jpg[/img:2v7xa88m]Page 3[img:2v7xa88m]http&#58;//www&#46;pflegeplus&#46;com/pictures/BRW3&#46;jpg[/img:2v7xa88m]Page 4[img:2v7xa88m]http&#58;//www&#46;pflegeplus&#46;com/pictures/BRW4&#46;jpg[/img:2v7xa88m]Page 5[img:2v7xa88m]http&#58;//www&#46;pflegeplus&#46;com/pictures/BRW5&#46;jpg[/img:2v7xa88m]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools Version 1. e => Download ( Update )
Uwe,Many thanks for your kind and excellent contributions! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xBrowse-Tools Version 1. e => Download ( Update )
Download Browser-Tools => Version 1cChanged / added :Function ( source ) for Browser-background changed.( see topic : what is a better choice for xBrowse-brushes )<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BRWTools1.zip">http://www.pflegeplus.com/fw_downloads/BRWTools1.zip</a><!-- m -->RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools Version 1. e => Download ( Update )
Hello,In Folder-page 1 ( Start-page HEADER and FOOTER ),there is a ONKLICK-preview.It means, any changes on sliders, fonts, colors areshown directly in the preview-browser.The PAINT-button has changed to => Write source.Download :<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BRWTools1.zip">http://www.pflegeplus.com/fw_downloads/BRWTools1.zip</a><!-- m -->RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools Version 1. e => Download ( Update )
Nice work Uwe! <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
xBrowse-Tools Version 1. e => Download ( Update )
Hello Patrik,thank you very much for your feedback.Many nice things are included for the new version.I have still to wait until FWH-8.09 is released.New :Input-values in the slider-edit fields, will adjust the slider-pointers tothe new position. The preview of the browser changes ( page 1 ).Browser-background can be tiled or adjusted on page 3( Antonios feedback )The display of a cell-bitmap on a brush ( bmp ) will be ok ( page 3).In the source-fields, small samples will be added.Some more help.A output text-file will include all sources from page 1 to 5 to save toa defined file.There are some more little changes.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools Version 1. e => Download ( Update )
Hello, Update : Version BRWTools => Version 1. e<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BRWTools2.zip">http://www.pflegeplus.com/fw_downloads/BRWTools2.zip</a><!-- m -->( There was a littel bug in this version : saving the project-file. If you noticed it, it is fixed.)This version includes a lot of fine-tuning :1. A better source-structure on Page 1 ( Header and Footer )2. A missing font-define for Header and Footer added in source on page 1.3. Double amount of steps for sliders.4. A input in the slider-result-field, does a new adjust of the sliderand shows the result on Header and Footer.5. A new button in Page 5, to save the source of all pages to a textfile.Some more small improvements.If there any changes in the result ( textfile ) to be done, just send me yourchanged texfile-result by email.Best regardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools 3a and new Help 1a ( download )
Hello,The new version of the xBrowse-tools 3awith many new functions and a multimedia-docis ready for download.To use Templates, just save the settings and open the templates with the Button < Project > from the officebar.There will be a sub-directory : PROJECT.All files, to create a EXE-file are included.Maybe you have to change the path-defines in the make-file ( i used D: )To create a exe-file, you have to rename a template to < BRWTEST.prg >[img:3119dlrg]http&#58;//www&#46;pflegeplus&#46;com/pictures/xBrwtempl1&#46;jpg[/img:3119dlrg]Downloads :xBrowse-Tools : <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BrwTools5.zip">http://www.pflegeplus.com/fw_downloads/BrwTools5.zip</a><!-- m -->Help-File : <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/xBrwHlp.zip">http://www.pflegeplus.com/fw_downloads/xBrwHlp.zip</a><!-- m -->The new Multimedia-Help for the xBrowse-Tools :[img:3119dlrg]http&#58;//www&#46;pflegeplus&#46;com/pictures/xBrowse&#46;doc1&#46;jpg[/img:3119dlrg]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools 3a and new Help 1a ( download )
Wow, look awsome!! <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->Great job!Patrick
xBrowse-Tools 3a and new Help 1a ( download )
Patrick,The xBrowse-Tools 3a are ready for download.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools 3a and new Help 1a ( download )
Hello,There will be a new Version of the xBrowse-Helpwith new design and a Multimedia- and Flash-player included.The transition-effects are faster now ( for slow computer )Pages with just one option : going back to the Master-Page, have a transition-effect < Page-curl-back >Supported Player-Formats :Vidio-Formats :avi, mpeg, mpg, m1v, wmv, asf, asx, qt, movAudio-Formats :mp3, ogg, wav, wmg, asf, mid, mi, snd, av, aifI still have to add some more Help-Text to get it complete, before i put it in the forum for download.[img:2lwoxd9v]http&#58;//www&#46;pflegeplus&#46;com/pictures/screen1&#46;jpg[/img:2lwoxd9v]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools 3a and new Help 1a ( download )
By chance you will have 1 example of the style xBrowse INVOICE(factura) ..? traducido con google...dont speake english...
xBrowse-Tools => Download Vers. 1b and Infos
Hello,The work on the 1. Page => Header / Footer Gradients is finished.With the next page : xBrowse-STYLES, i will include the RC-file of the tools. Maybe it is still some more help.[img:xvekgoaw]http&#58;//www&#46;pflegeplus&#46;com/pictures/xbrtools12&#46;jpg[/img:xvekgoaw]Download :<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/BRWTools.zip">http://www.pflegeplus.com/fw_downloads/BRWTools.zip</a><!-- m -->A first preview of the new page 2.[img:xvekgoaw]http&#58;//www&#46;pflegeplus&#46;com/pictures/xbrtools17&#46;jpg[/img:xvekgoaw]If still something missing, just tell me.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools => Download Vers. 1b and Infos
Dear Uwe,Please see my suggestion here:<!-- m --><a class="postlink" href="http://forums.fivetechsoft.com/viewtopic.php?p=61490#61490">http://forums.fivetechsoft.com/viewtopi ... 1490#61490</a><!-- m -->
xBrowse-Tools => Download Vers. 1b and Infos
Hello,A message to FWH-users, without FWH-Version 8.07 !!!---------------------------------------------------------------You can use the tools as well !!!What you cannot do :Header and Footer-Gradients.It can be, something else is not possible in older versions.Maybe i can get a short release-overview from Antonio for xBrowse, because i don't know.A preview of the next pages :Page 2 = Styles and Lines------------------------------oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWoBrw:nColDividerStyle := LINESTYLE_BLACKoBrw:nRowDividerStyle := LINESTYLE_BLACKoBrw:hRowPen := CreatePen( PS_SOLID, BR_PEN, CLR_BLACK ) [img:25dpeaog]http&#58;//www&#46;pflegeplus&#46;com/pictures/xbrtools20&#46;jpg[/img:25dpeaog]Page 3 = Data- part -----------------------oBrw:nRecSelColor = 15512898 oBrw:bClrSelFocus = { || { 16777215, 15512898 } } oBrw:bClrSel = { || { 16777215, 15512898 } } Testing Data-font[img:25dpeaog]http&#58;//www&#46;pflegeplus&#46;com/pictures/xbrtools19&#46;jpg[/img:25dpeaog]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools => Download Vers. 1b and Infos
Sorry ,but this is a [b:se64o783]remade copy of Setupcol.prg [/b:se64o783] this program made on Agosto 6 de 2001 for Listbox class by Jose David Angulo ( Copyright: 2001 by Jose David Angulo Urzola) Email : <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->.Also this program save the parameters on INI file and it include also Say Setup and Get Setup ( style and font and color)Look it please <!-- m --><a class="postlink" href="http://www.teramoest.it/setupcol.jpg">http://www.teramoest.it/setupcol.jpg</a><!-- m -->Instead Antonio tried to sad to YOU that an object inspector is a good method !!!
xBrowse-Tools => Download Vers. 1b and Infos
Hello Sylvio,I had a look at the picture.Do you want to make a joke ?It has nothing to do with visual-design.At first, i have never seen your < OLD > program,as well, i don't know it.Second, this is something complete new,only possible to create with the new FWH 8.07 release.The time you dated your old prog. => 2001,all these things haven't been possible.I don't know what you mean ?RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools => Download Vers. 1b and Infos
First ...the old program ...it is not mine...you must read step by step my messageSecond... the yours is mde only for fwh8.07 ? Good, How many fwuser can use it ?I not see nothing of "complete new"...Many peolple go to K2 but the K2 is a old mountain....
xBrowse-Tools => Download Vers. 1b and Infos
Hello Sylvio,The programming is done with FWH 8.07,because only this version supports GRADIENT-design.Setting of nice-looking gradients without previewis nearly impossible. That was the main-reason, to start with the tools ( that means as well the bar-tools ).You can use many settings with older versions of FWH.Maybe it is a good idea, to find out, what is possible to dowith certain-versions.In the moment i'm busy, to create also a BUTTON- and WINDOWS / DIALOG-background-designer for FWH.You don't need to use it, if you don't like it,but I think, it will support the work of many users.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-Tools => Download Vers. 1b and Infos
Hello Uwe,Thank you very much for your contributions. Not all users share freely their developements.By the way, it would be a nice feature for Fivewin to allow the final user to change xBrowse and Dialogs look and save its propeties to an ini file, for example.
xBrowse-background can be stretched ? => SOLVED
Hello,some month ago, we have been talking about xBrowse-backgrounds.xBrowse shows the used bitmaps TILED.Is this problem solved in the new FWH-release ?RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
with sbrowse 6 we can
xBrowse-background can be stretched ? => SOLVED
ukoenig...i did a little trick... modify xbrowse class1-. put in define place..[code:3ub8pdwd]#define SRCCOPY 0x00CC0020 [/code:3ub8pdwd] 2-. put at end_of_file but before #pragma BEGINDUMP [code:3ub8pdwd] DLL32 FUNCTION CreateCompatibleBitmap&#40; hDC AS LONG, nWidth AS LONG, nHeight AS LONG &#41; AS LONG ; PASCAL FROM "CreateCompatibleBitmap" LIB "gdi32&#46;dll"[/code:3ub8pdwd] 3.- 2 new data [code:3ub8pdwd] DATA cBmpAdjBrush // BMP file/resource DATA lBrushed AS LOGICAL INIT &#46;F&#46; // used internally for check brush [/code:3ub8pdwd] 4.- and last step... the trick! method paint put after variable declare this line [code:3ub8pdwd] local hBmpDC, hDCComp, hOldBitMap, hBmp, hBmpNew if &#58;&#58;cBmpAdjBrush != NIL &#46;and&#46; !&#58;&#58;lBrushed &#58;&#58;lBrushed &#58;= &#46;t&#46; &#58;&#58;lTransparent &#58;= &#46;t&#46; if valtype&#40; &#58;&#58;cBmpAdjBrush &#41; == "C" if '&#46;' $ &#58;&#58;cBmpAdjBrush if upper&#40; right&#40; &#58;&#58;cBmpAdjBrush, 3 &#41; &#41; == "BMP" if file&#40; &#58;&#58;cBmpAdjBrush &#41; hBmp &#58;= ReadBitmap&#40; 0, &#58;&#58;cBmpAdjBrush &#41; else msgstop&#40; "File " + &#58;&#58;cBmpAdjBrush + " not Found","Fivewin&#58; Class TXBrowse" &#41; return&#40; 0 &#41; endif else msgstop&#40; "Bad BMP File format","Fivewin&#58; Class TXBrowse" &#41; return&#40; 0 &#41; endif else if &#40; hBmp &#58;= LoadBitmap&#40; GetResources&#40;&#41;, &#58;&#58;cBmpAdjBrush &#41; &#41; == 0 msgstop&#40; "Resource " + &#58;&#58;cBmpAdjBrush + " No Found", "Fivewin&#58; Class TXBrowse" &#41; return&#40; 0 &#41; endif endif else msgstop&#40; "Only BMP File or Resource","Fivewin&#58; Class TXBrowse" &#41; return&#40; 0 &#41; endif PalBmpDraw&#40; &#58;&#58;hDC, 0, 0, hBmp,, &#40;&#58;&#58;nRight - &#58;&#58;nLeft&#41;, &#40; &#58;&#58;nBottom - &#58;&#58;nTop &#41; &#41; &#58;&#58;lBrushed &#58;= &#46;t&#46; hDCComp &#58;= CreateCDC&#40; &#58;&#58;hDC &#41; hBmpNew &#58;= CreateCompatibleBitMap&#40; &#58;&#58;hDC, &#58;&#58;oWnd&#58;nWidth, &#58;&#58;oWnd&#58;nHeight &#41; holdBitMap &#58;= selectobject&#40; hdccomp, hBmpNew &#41; BitBlt&#40; hDCComp, 0, 0, &#58;&#58;oWnd&#58;nWidth, &#58;&#58;oWnd&#58;nHeight, &#58;&#58;hDC, 0, 0, SRCCOPY &#41; selectobject&#40; hBmpNew, hOldBitMap &#41; &#58;&#58;lTransparent &#58;= &#46;t&#46; &#58;&#58;Refresh&#40;&#41; &#58;&#58;oBrush&#58;hBrush&#58;=CreatePatternBrush&#40; hBmpNew &#41; DeleteObject&#40; hBmp &#41; endif [/code:3ub8pdwd]example oBrw:cBmpAdjBrush := "C:\FWH\BITMAPS\back.bmp"oBrw:SetBackGround("C:\FWH\BITMAPS\back.bmp" )always write both lines oBrw:cBmpAdjBrush and oBrw:SetBackGround() remember you can use resources too
xBrowse-background can be stretched ? => SOLVED
Application=========== Path and name: C:\work\LIB_32\xbrowse\xbrowse.Exe (32 bits) Size: 1,641,472 bytes Time from start: 0 hours 0 mins 21 secs Error occurred at: 12/04/08, 10:08:26 Error description: Error BASE/1004 Message not found: TXBROWSE:SETBACKGROUNDStack Calls=========== Called from: tobject.prg => TXBROWSE:ERROR(172) Called from: tobject.prg => TXBROWSE:MSGNOTFOUND(205) Called from: tobject.prg => TXBROWSE:SETBACKGROUND(0) Called from: testxbr2.prg => AUTOEDIT(66) Called from: testxbr2.prg => (b)BUILDMENU(39) Called from: MENU.PRG => TMENU:COMMAND(0) Called from: WINDOW.PRG => TWINDOW:COMMAND(0) Called from: MDIFRAME.PRG => TMDIFRAME:COMMAND(0) Called from: => TMDIFRAME:HANDLEEVENT(0) Called from: WINDOW.PRG => _FWH(0) Called from: => WINRUN(0) Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0) Called from: testxbr2.prg => MAIN(24)
xBrowse-background can be stretched ? => SOLVED
[img:2pd5f28o]http&#58;//triton&#46;imageshack&#46;us/Himg78/scaled&#46;php?server=78&filename=errbackgroundpo6&#46;jpg&xsize=578[/img:2pd5f28o]I 'm using only oBrw:cBmpAdjBrush :="BACK.bmp"
xBrowse-background can be stretched ? => SOLVED
Hello Silvio,I think, < oLbx:cBmpAdjBrush > is added ( new ) in FWH-version 8.10I work with FWH 8.09 and get a error ?oLbx:cBmpAdjBrush :="BLUESTONE.bmp"RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
if you use oBrw:cBmpAdjBrush :="BACK.bmp" without oBrw:SetBackGround() i think will have trouble with paint...please, stay alert with it
xBrowse-background can be stretched ? => SOLVED
Hello,It is a compile-error not function-error.< cBmpAdjBrush > doesn't exist.oLbx:cBmpAdjBrush I think it is new.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
yes is new data, made for me... you need modify class txbrosweplease review my post
xBrowse-background can be stretched ? => SOLVED
Hello,I added the lines to xBrowse.prg. The compile runs without error.With the extra lines :oLbx1:cBmpAdjBrush := "view.bmp" oLbx1:SetBackGround("view.bmp" ) I get a black background inside the browser. I tested without < oLbx1:SetBackGround >.The BMP-background is shown, but not adjusted to the Data-area of the browser.I changed Your line :* PalBmpDraw( ::hDC, 0, 0, hBmp,, (::nRight - ::nLeft), ( ::nBottom - ::nTop ) ) in :PalBmpDraw( ::hDC, 0, 0, hBmp,, ::BrwWidth(), ::BrwHeight() ) That works perfect now !If You change this, the BMP is adjusted to the xbrowse data-area.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
thank a lot... little detailthe idea is good... i happy it work for you.... i did burn my brain <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->change too...hBmpNew := CreateCompatibleBitMap( ::hDC, ::BrwWidth(), ::BrwHeight() ) BitBlt( hDCComp, 0, 0, ::BrwWidth(),::BrwHeight(), ::hDC, 0, 0, SRCCOPY )
xBrowse-background can be stretched ? => SOLVED
Hello MC,Thanks a lot.The Testfiles : EXE, RC, TESTFOLDER.prg<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/testbrowse.zip">http://www.pflegeplus.com/fw_downloads/testbrowse.zip</a><!-- m -->A sample :[img:1rdmlbf3]http&#58;//www&#46;pflegeplus&#46;com/pictures/backgrd3&#46;jpg[/img:1rdmlbf3]Like You can see, the balls are adjusted to the browser.Another sample :I used the Background-tools, created a gradient and saved it as bitmap.[img:1rdmlbf3]http&#58;//www&#46;pflegeplus&#46;com/pictures/backgrd4&#46;jpg[/img:1rdmlbf3]Now it is very simple :Adjusted background :oLbx1:cBmpAdjBrush := "3D.bmp" // It is 24-BitTiled Background :oLbx1:SetBackGround("view.bmp" ) A small thing I noticed after some tests :Two Browsers in Folder-page 1oLbx1:cBmpAdjBrush := "Gradient1.bmp" oLbx2:cBmpAdjBrush := "3Dball.bmp" oLbx1 shows < 3Dball.bmp > background as well.Inside the second folder-page oLbx3:cBmpAdjBrush := "Gradient1.bmp"I open the dialog.Folder-page one shows < 3Dball.bmp >I change to folder-page 2The browser shows < Gradient1.bmp >Going back to folder-page 1oLbx1 and oLbx2 changed from < 3Dball.bmp > to < Gradient1.bmp >It seems, allways the last selected BMP is activated.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
Hello Daniel,A fine adjustment, to fit the bitmap to the xbrowse-data-area.( Adjustment to the record-selector-width, header and footer )I noticed it, because the ball wasn't centered.Complete adjustment :[img:2xuq88k7]http&#58;//www&#46;pflegeplus&#46;com/pictures/testxbrw2&#46;jpg[/img:2xuq88k7][code:2xuq88k7] PalBmpDraw&#40;&#58;&#58;hDC,&#58;&#58;HeaderHeight&#40;&#41;,RECORDSELECTOR_WIDTH, hBmp,, ; &#58;&#58;BrwWidth&#40;&#41;- RECORDSELECTOR_WIDTH,&#58;&#58;BrwHeight&#40;&#41; -&#58;&#58;FooterHeight&#40;&#41; &#41; &#58;&#58;lBrushed &#58;= &#46;t&#46; hDCComp &#58;= CreateCDC&#40;&#58;&#58;hDC &#41; hBmpNew &#58;= CreateCompatibleBitMap&#40;&#58;&#58;hDC,&#58;&#58;BrwWidth&#40;&#41;,&#58;&#58;BrwHeight&#40;&#41;-&#58;&#58;FooterHeight&#40;&#41;&#41; holdBitMap &#58;= selectobject&#40;hdccomp,hBmpNew&#41; BitBlt&#40; hDCComp,&#58;&#58;HeaderHeight&#40;&#41;,RECORDSELECTOR_WIDTH,&#58;&#58;BrwWidth&#40;&#41;, ; &#58;&#58;BrwHeight&#40;&#41;,&#58;&#58;hDC,&#58;&#58;HeaderHeight&#40;&#41;,RECORDSELECTOR_WIDTH, SRCCOPY &#41; [/code:2xuq88k7]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
good idea...for more easy reader dont use "25" use RECORDSELECTOR_WIDTH
xBrowse-background can be stretched ? => SOLVED
Hello Daniel,some more adjustments.[code:1ekilgyl] PalBmpDraw&#40;&#58;&#58;hDC,&#58;&#58;HeaderHeight&#40;&#41;,RECORDSELECTOR_WIDTH, hBmp,, ; &#58;&#58;BrwWidth&#40;&#41;- RECORDSELECTOR_WIDTH,&#58;&#58;BrwHeight&#40;&#41; -&#58;&#58;FooterHeight&#40;&#41; &#41; &#58;&#58;lBrushed &#58;= &#46;t&#46; hDCComp &#58;= CreateCDC&#40;&#58;&#58;hDC &#41; hBmpNew &#58;= CreateCompatibleBitMap&#40;&#58;&#58;hDC,&#58;&#58;BrwWidth&#40;&#41;,&#58;&#58;BrwHeight&#40;&#41;-&#58;&#58;FooterHeight&#40;&#41;&#41; holdBitMap &#58;= selectobject&#40;hdccomp,hBmpNew&#41; BitBlt&#40; hDCComp,&#58;&#58;HeaderHeight&#40;&#41;,RECORDSELECTOR_WIDTH,&#58;&#58;BrwWidth&#40;&#41;, ; &#58;&#58;BrwHeight&#40;&#41;,&#58;&#58;hDC,&#58;&#58;HeaderHeight&#40;&#41;,RECORDSELECTOR_WIDTH, SRCCOPY &#41; [/code:1ekilgyl]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
perfect... <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->thank for you feedback
xBrowse-background can be stretched ? => SOLVED
Hello Daniel,All new options are included in the new release of the xBrowse-Tools.It works at runtime without problems.A new Button for Image-display[img:3qn6rz0r]http&#58;//www&#46;pflegeplus&#46;com/pictures/update1&#46;jpg[/img:3qn6rz0r]The full preview[img:3qn6rz0r]http&#58;//www&#46;pflegeplus&#46;com/pictures/update2&#46;jpg[/img:3qn6rz0r]A new Gradient-painter, to create gradient.bmp's for xBrowse.[img:3qn6rz0r]http&#58;//www&#46;pflegeplus&#46;com/pictures/update3&#46;jpg[/img:3qn6rz0r]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-background can be stretched ? => SOLVED
i'm happy for you... <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
xBrowse-celledit => a col / row -reset on defined key ?
Hello, I have a xBrowse-matrix can be added from keyboard. What is the best solution for a linebreak on any position to the next row to col 5 ? reaching day 31, I defined a linebreak to the next row that works fine. I still need a line-break on any col-position using a key like < space > or < esc > ( only keyboard-usage ) I tested / added on a cell : to the nKey-define => If( nKey == VK_RETURN, ; ... ... [color=#0000FF:39e7vo5i][b:39e7vo5i]If( nKey == VK_SPACE, ( oBrw2:GoDown( 1 ), oBrw2:SelectCol(5) ),), ;[/b:39e7vo5i] [/color:39e7vo5i] but didn*t work [b:39e7vo5i]Day 31[/b:39e7vo5i] [b:39e7vo5i]oCol:nEditType := EDIT_GET oCol:bOnPostEdit := { | oCol, xVal, nKey | If( nKey == VK_RETURN, ; ( PREIS_SAVE(xVal, 31, "T31",cMonat), ; // val, position, fieldname, dbf / alias oBrw2:RefreshCurrent(), ; [color=#0000FF:39e7vo5i]oBrw2:GoDown( 1 ), ; oBrw2:SelectCol(5) [/color:39e7vo5i]),) }[/b:39e7vo5i] [img:39e7vo5i]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Break1&#46;jpg[/img:39e7vo5i] best regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xBrowse-celledit => a col / row -reset on defined key ?
Imade some thing on Orario application nora:=alltrim(str(oBrw:nRowSel)) ngiorno:=alltrim(str(oBrw:nColSel-1)) oBrw:SelectedCol():Value := OR->CLASSE
xBrowse-recordselector width
Can the width of column recordselector be changed? Thanks in advance Otto
xBrowse-recordselector width
This is not provided now. This width is constant. Only way is to change the DEFINE RECORDSELECTOR_WIDTH 25 to other value and recompile
xBrowse-recordselector width
Mr. Rao, thank you for the information. Best regards, Otto
xBrowse-recordselector width
Otto, I wonder why you wish to change it? Is the width too narrow when there are lots of records? Perhaps this needs to be addressed by Antonio? James
xBrowse-recordselector width
Hello James, I need it form my touch screen solution (ECR software). Best regards, Otto
xBrowse-recordselector width
Otto, Is that because you need it larger so the user can touch it? James
xBrowse-recordselector width
Hello Otto : [img:207899wm]http&#58;//www&#46;pflegeplus&#46;com/pictures/selector7&#46;jpg[/img:207899wm] Change this Line in xBrowse Defines : [color=#FF0000:207899wm]#define RECORDSELECTOR_WIDTH 60[/color:207899wm] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
xBrowse-recordselector width
Hello James, hello Uwe, hello Mr. Rao, Thank you all for your help. Best regards, Otto
xBrowse-rowcolors ( Download )
A little xBrowse-rowpainter [color=#0000FF:9znmwa4a][b:9znmwa4a]1. zebra-color 1 2. zebra-text-color 1 // neded to use dark row-colors 3. zebra-color 2 4. zebra-text-color 2 // neded to use dark row-colors 5. zebra-focus-color 6. zebra-focus-text-color // neded to use dark row-colors[/b:9znmwa4a][/color:9znmwa4a] DOWNLOAD full source <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Xbrwrows1.zip">http://www.pflegeplus.com/DOWNLOADS/Xbrwrows1.zip</a><!-- m --> The painter ( values can be saved to a INI ) [img:9znmwa4a]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Xbrwrows1&#46;jpg[/img:9znmwa4a] shows the selected colors : [img:9znmwa4a]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Xbrwrows2&#46;jpg[/img:9znmwa4a] best regards Uwe <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
xBrowse-rowcolors ( Download )
Uwe, I made a Class easy to set xbrowse features Please see <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30706">viewtopic.php?f=3&t=30706</a><!-- l --> sample : @ 10, 10 XBROWSE oBrw OF oDlg SIZE 300, 195 PIXEL ; AUTOCOLS ALIAS 'CUST' NOBORDER [b:19bu6ibg]oConfig:= TBrwSetup():New(oBrw,oDlg,cIniUser,cSection,cPref,cIniEntry)[/b:19bu6ibg] // to read inifile [b:19bu6ibg]oConfig:BrwRowConfig(cIniUser,cSection,cPref,oBrw) [/b:19bu6ibg] oBrw:CreateFromCode() oBrw:RestoreState( cState )
xBrowse-rowcolors ( Download )
[b:39bgfn9i]Solution 2[/b:39bgfn9i] [b:39bgfn9i]no extra dialog for color-selection needed. 1. select a color-type from the radios 2. click on the color-image 3. adjust the brightness of the color from the gradient-image.[/b:39bgfn9i] [color=#0000FF:39bgfn9i][b:39bgfn9i]Just a question : how to center the button-prompt ?[/b:39bgfn9i][/color:39bgfn9i] DOWNLOAD <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Xbrwrows2.zip">http://www.pflegeplus.com/DOWNLOADS/Xbrwrows2.zip</a><!-- m --> [img:39bgfn9i]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Xbrwrows3&#46;jpg[/img:39bgfn9i] best regards Uwe <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
xBrowse-solution for painting a row-color-GROUP ?
Hello, is there a good solution to show rowcolors as a group ? A normal defined pyjama-style looks like : [code=fw:39gwkx3m]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">bClrStd</span> = <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">KeyNo</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> % <span style="color: #000000;">2</span> == <span style="color: #000000;">0</span>, ;<br />                         <span style="color: #000000;">&#123;</span> <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> Deleted<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, CLR_HRED, CLR_BLACK <span style="color: #000000;">&#41;</span>,;<br />                           RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">198</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">198</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, ;<br />                         <span style="color: #000000;">&#123;</span> <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> Deleted<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, CLR_HRED, CLR_BLACK <span style="color: #000000;">&#41;</span>,;<br />                           RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">232</span>, <span style="color: #000000;">255</span>, <span style="color: #000000;">232</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />oBrw:<span style="color: #000000;">bClrSel</span> = <span style="color: #000000;">&#123;</span> || <span style="color: #000000;">&#123;</span> <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> Deleted<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, CLR_HRED, CLR_WHITE <span style="color: #000000;">&#41;</span>,;<br />                           RGB<span style="color: #000000;">&#40;</span> 0x33, 0x66, 0xCC <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br /> </div>[/code:39gwkx3m] For a tourplanning I need a different solution A defined tour must be completed with 2 drivers that means I must show ( complete ) 2 equal row-colors ( pyjama ) as a group This sample shows position 3 and 5 are not completed. [img:39gwkx3m]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Group3&#46;jpg[/img:39gwkx3m] Maybe changing something inside this section ? [color=#0000FF:39gwkx3m] cTour := "F01" oBrw:bClrStd := { || cTour := ("PFLEGER")->TOUR, ; // start-tour-color If( ("PFLEGER")->TOUR == cTour, ; { If( ( oBrw:cAlias )->( Deleted() ), 255, aVal[103] ), aVal[102] }, ; { If( ( oBrw:cAlias )->( Deleted() ), 255, aVal[101] ), aVal[100] } ) } oBrw:bClrSel := ;[/color:39gwkx3m] ... cTour := ("PFLEGER")->TOUR // check tour in next row keep color until value changes any idea ? regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xBrowse-solution for painting a row-color-GROUP ?
The solution I found : using the pyjama-effect but for multiple rows added a indexed numeric field N 2.0 ( only needed for sorting ) Adding values like [color=#0000FF:1w6fvpco]1[/color:1w6fvpco], [color=#FF0000:1w6fvpco]2[/color:1w6fvpco], [color=#0000FF:1w6fvpco]9[/color:1w6fvpco], [color=#FF0000:1w6fvpco]16[/color:1w6fvpco] forces a group of row-colors :bClrStd := { ||[color=#4000FF:1w6fvpco] [b:1w6fvpco]If( ("PFLEGER")->SORT %2 == 0[/b:1w6fvpco], [/color:1w6fvpco]; // the indexed field is used { If( ( oBrw[5]:cAlias )->( Deleted() ), 255, aVal[103] ), aVal[102] }, ; { If( ( oBrw[5]:cAlias )->( Deleted() ), 255, aVal[101] ), aVal[100] } ) } :bClrSel := ; :bClrSelFocus := { || { If( ( oBrw[5]:cAlias )->( Deleted() ), 255, aVal[105] ), aVal[104] } } still solved another problem : unequal values ( edit field ) from the combo-selection must be shown with a different color : [img:1w6fvpco]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Rowgroup1&#46;jpg[/img:1w6fvpco] regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
xBrowse...Sugerencias para exportar a excel
Hola, Antonio. Al usar la función para exporta a excel que han incorporado a xBrowse hecho en falta un par de cosas: 1. Normalmente es necesario escribir un título antes de los datos, sin embargo por el método ToExcel sólo exporta los datos. Por este motivo he agregado al método ToExcel un parámetro ( aTitulos ) que me permite enviar los títulos de tabla que necesito. Aunque por ahora me las he arreglado con esto me parece que sería estupendo que FiveTechSoft lo incoporara para no tener que modificar la clase con cada actualización. 2. En el método ToExcel El bloque de código bProgress es evaluado sólo cuando no hay registros seleccionados en el xBrowse, luego entonces cuando se seleccionan sólo algunos registros el bloque de código bProgress no es evaluado por lo que no es posible mostrar el avance del proceso al usuario. De ya, gracias. Saludos, Rod.
xBrowse.Cambiar color de la fila segun dato de una columna.
Puede que sea algo trivial ( o no), pero ahora mismo no doy con la forma de hacerlo. Tal cual menciono en el titulo, lo pretento es ir variando el color de las filas de un xBrowse dependiendo del valor de un campo. Gracias anticipadas.
xBrowse.Cambiar color de la fila segun dato de una columna.
Byel, .\samples\TestXbrw, busca => Changing colors at run-time... [code:vvgi20c7]oBrw&#58;bClrStd &#58;= {|| {CLR_WHITE, iif( Field->Married, CLR_RED, CLR_GREEN ) }} oBrw&#58;aCols&#91; 10 &#93;&#58;bClrStd &#58;= {|| { iif( Field->Salary > 100000, CLR_HRED, CLR_HBLUE), CLR_GRAY } }[/code:vvgi20c7] Siau. C.
xBrowse.Cambiar color de la fila segun dato de una columna.
Gracias Carles, Ves ya deica yo que tenia que ser algo sencillo, jder ayer le estuve dando vueltas con el bClrStd tanto a nivel de browse como a nivel de columna y no me funcionaba. Fallo mio, porque ponia el if fuera del codeblock, entonces solo se evaluaba una vez. Muchas gracias, porque estaba obcecado en mis intentos y no veia la evidencia. a10
xBrowse.Posicionar en una columna determinada despues add
Tengo un xBrowse con lFastEdit a .t., deseo que se vayan añadiendo registros despues de editar la última columna, o bien si pulsan flecha abajo, y además quiero que la siguiente fila inicie la edición en la tercerla columna editable, ya que las dos anteriores tienen valores que casi nunca cambian. Con la versión 0904 lo hacia mediante el codeblock bPastEof, añadia el registro en la tabla, y posicionaba en la columna deseada usando oBrw:Setos(). Con la verión 0905, esto ha dejado de funcionar, creo que motivado por los cambios introducidos en el método GoNextCtrl(). He itentado buscar otro punto donde variar la primera columna a editar, pero no lo he encontrado, seguro que habra alguna forma facil de hacerlo, pero ahora no doy con ella (todo lo que se me ocurre pasa por modificar la calse, cosa que quiseiera evitar). Help.
xBrowse.Posicionar en una columna determinada despues add
Saludos Biel... Podrias colocar un ejemplo que este funcinando en la version 904, por favor, con respecto al punto que estas exponiendo... Gracias....
xBrowse.Posicionar en una columna determinada despues add
Hola Daniel, aqui va un ejemplo autocontenido. Me ha costado un poco el sacarlo de dentro de la aplicación, pero bueno, así podras compilarlo y probarlo sin problema. [code=fw:2i31elzd]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xBrowse.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"EXStruc.ch"</span><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> oWnd, oBrw,oCol,oDef<br />   <span style="color: #00C800;">LOCAL</span> aNomBan:=<span style="color: #000000;">&#123;</span><span style="color: #ff0000;">'50mhz'</span>,<span style="color: #ff0000;">'144 mhz'</span>,<span style="color: #ff0000;">'432mhz'</span><span style="color: #000000;">&#125;</span>,aCodBan:=<span style="color: #000000;">&#123;</span><span style="color: #ff0000;">'6M'</span>,<span style="color: #ff0000;">'2M'</span>,<span style="color: #ff0000;">'70CM'</span><span style="color: #000000;">&#125;</span><br />   <span style="color: #00C800;">LOCAL</span> aNomMod:=<span style="color: #000000;">&#123;</span><span style="color: #ff0000;">'SSB'</span>,<span style="color: #ff0000;">'PKT'</span>,<span style="color: #ff0000;">'CLO'</span>,<span style="color: #ff0000;">'PAC2'</span><span style="color: #000000;">&#125;</span>,aCodMod:=<span style="color: #000000;">&#123;</span><span style="color: #ff0000;">'SSB'</span>,<span style="color: #ff0000;">'Packet'</span>,<span style="color: #ff0000;">'Clover'</span>,<span style="color: #ff0000;">'Pactor II'</span><span style="color: #000000;">&#125;</span><br />   STRUC oDef<br />      MEMBER dFecha    AS Date      <span style="color: #0000ff;">INIT</span> Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      MEMBER cProPMode AS CHARACTER <span style="color: #0000ff;">INIT</span> <span style="color: #ff0000;">'ES'</span><br />      MEMBER cOperator AS CHARACTER <span style="color: #0000ff;">INIT</span> <span style="color: #ff0000;">'EA6DD'</span><br />      MEMBER cQra      AS CHARACTER <span style="color: #0000ff;">INIT</span> <span style="color: #ff0000;">'JM19JK'</span><br />      MEMBER cMode     AS CHARACTER <span style="color: #0000ff;">INIT</span> <span style="color: #ff0000;">'SSB'</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">6</span><br />      MEMBER cBand     AS CHARACTER <span style="color: #0000ff;">INIT</span> <span style="color: #ff0000;">'2M'</span>  <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">6</span><br />   END STRUC<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br /><br />   DBCreate<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'Fast'</span>, <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"BAND"</span>      , <span style="color: #ff0000;">"C"</span>,     <span style="color: #000000;">6</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"CALL"</span>      , <span style="color: #ff0000;">"C"</span>,    <span style="color: #000000;">12</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"COMMENT"</span>   , <span style="color: #ff0000;">"C"</span>,    <span style="color: #000000;">30</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"GRIDSQUARE"</span>, <span style="color: #ff0000;">"C"</span>,     <span style="color: #000000;">6</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"MODE"</span>      , <span style="color: #ff0000;">"C"</span>,     <span style="color: #000000;">6</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"TIMEON"</span>    , <span style="color: #ff0000;">"C"</span>,     <span style="color: #000000;">5</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"OPERATOR"</span>  , <span style="color: #ff0000;">"C"</span>,    <span style="color: #000000;">15</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"PROPMODE"</span>  , <span style="color: #ff0000;">"C"</span>,     <span style="color: #000000;">2</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"QSODATE"</span>   , <span style="color: #ff0000;">"D"</span>,     <span style="color: #000000;">8</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                      <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"QRA"</span>       , <span style="color: #ff0000;">"C"</span>,     <span style="color: #000000;">6</span>,    <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br />   DBUseArea<span style="color: #000000;">&#40;</span>.T.,,<span style="color: #ff0000;">'fast'</span>,<span style="color: #ff0000;">'fast'</span>,.F.,.F.<span style="color: #000000;">&#41;</span><br />   oBrw := TxBrowse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span>oWnd<span style="color: #000000;">&#41;</span><br />   WITH OBJECT oBrw<br />      :<span style="color: #000000;">nMarqueeStyle</span>       := MARQSTYLE_HIGHLCELL<br />      :<span style="color: #000000;">nColDividerStyle</span>    := <span style="color: #000000;">4</span><br />      :<span style="color: #000000;">nRowDividerStyle</span>    := <span style="color: #000000;">4</span><br />      :<span style="color: #000000;">lColDividerComplete</span> := .T.<br />      :<span style="color: #000000;">nHeaderLines</span>        := <span style="color: #000000;">2</span><br />      :<span style="color: #000000;">nDataLines</span>          := <span style="color: #000000;">1</span><br />      :<span style="color: #000000;">nFreeze</span>             := <span style="color: #000000;">5</span><br />      :<span style="color: #000000;">lFastEdit</span>           :=.T.<br />      :<span style="color: #000000;">bPastEof</span>            := <span style="color: #000000;">&#123;</span>||EsAddRec<span style="color: #000000;">&#40;</span>oDef,oBrw,oCol<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span><br />   END<br />   ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> Fast->QsoDate    <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">'Fecha'</span><br />   ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> Fast->TimeOn     <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">'Hora'</span><br />   ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> Fast->Band       <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">'Banda'</span><br />   oCol:=ATail<span style="color: #000000;">&#40;</span>oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#41;</span><br />   oCol:<span style="color: #000000;">nEditType</span>     := EDIT_LISTBOX<br />   oCol:<span style="color: #000000;">aEditListTxt</span>  := aNomBan<br />   oCol:<span style="color: #000000;">aEditListBound</span>:= aCodBan<br />   oCol:<span style="color: #000000;">bOnPostEdit</span>   := <span style="color: #000000;">&#123;</span>|o,v,n| Fast->Band:=v <span style="color: #000000;">&#125;</span><br />   ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> Fast->Mode       <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">'Modo'</span><br />   oCol:=ATail<span style="color: #000000;">&#40;</span>oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#41;</span><br />   oCol:<span style="color: #000000;">nEditType</span>     := EDIT_LISTBOX<br />   oCol:<span style="color: #000000;">aEditListTxt</span>  := aNomMod<br />   oCol:<span style="color: #000000;">aEditListBound</span>:= aCodMod<br />   oCol:<span style="color: #000000;">bOnPostEdit</span>   := <span style="color: #000000;">&#123;</span>|o,v,n| Fast->Mode:=v <span style="color: #000000;">&#125;</span><br />   ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> Fast->Call       <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">'Indicativo'</span> EDITABLE <span style="color: #0000ff;">ON</span> <span style="color: #00C800;">EDIT</span> <span style="color: #000000;">&#123;</span>|o,v,n| Fast->Call:=v <span style="color: #000000;">&#125;</span>       <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span><br />   oCol:=ATail<span style="color: #000000;">&#40;</span>oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#41;</span><br />   ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> Fast->GridSquare <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">'Locator'</span>    EDITABLE <span style="color: #0000ff;">ON</span> <span style="color: #00C800;">EDIT</span> <span style="color: #000000;">&#123;</span>|o,v,n| Fast->GridSquare:=v <span style="color: #000000;">&#125;</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"!!99!!"</span><br />   ADD <span style="color: #0000ff;">TO</span> oBrw <span style="color: #00C800;">DATA</span> Fast->Comment    <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">'Notas'</span>      EDITABLE <span style="color: #0000ff;">ON</span> <span style="color: #00C800;">EDIT</span> <span style="color: #000000;">&#123;</span>|o,v,n| Fast->Comment:=v <span style="color: #000000;">&#125;</span><br />   <span style="color: #B900B9;">//--</span><br />   oBrw:<span style="color: #000000;">SetRdd</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oWnd:<span style="color: #000000;">oClient</span>:=oBrw<br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> EsAddRec<span style="color: #000000;">&#40;</span>oDef,oBrw,oCol<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><span style="color: #B900B9;">//---------------------------------------</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> EsAddRec<span style="color: #000000;">&#40;</span>oDef,oBrw,oCol<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">IF</span> Empty<span style="color: #000000;">&#40;</span>Fast->TimeOn<span style="color: #000000;">&#41;</span><br />      Fast->TimeOn:=Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br />   Fast-><span style="color: #000000;">&#40;</span>DBAppend<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   Fast->QsoDate :=oDef:<span style="color: #000000;">dFecha</span><br />   Fast->Operator:=oDef:<span style="color: #000000;">cOperator</span><br />   Fast->Qra     :=oDef:<span style="color: #000000;">cQra</span><br />   Fast->PropMode:=oDef:<span style="color: #000000;">cPropMode</span><br />   Fast->Band    :=oDef:<span style="color: #000000;">cBand</span><br />   Fast->Mode    :=oDef:<span style="color: #000000;">cMode</span><br />   oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   oBrw:<span style="color: #000000;">SetPos</span><span style="color: #000000;">&#40;</span>,oBrw:<span style="color: #000000;">ColPos</span><span style="color: #000000;">&#40;</span>oCol<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />*   oBrw:<span style="color: #000000;">nColSel</span>:=<span style="color: #000000;">5</span> <span style="color: #B900B9;">//Tambien funciona</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span></div>[/code:2i31elzd] Con FW0904 al pulsar intro en el último campo (notas), añade un nuevo registro y se posiciona en la columna indicativo. Con FW0905 hace lo mismo que la anterior, pero se posiciona en la primera columa editable(banda).Este comportamiento no digo que sea erroneo, solo que necesito alguna manera para conseguir posicionarlo sobre indicativo.
xBrowse.Posicionar en una columna determinada despues add
Saludo Biel... Ciertamente hubo unos cambios de posicion en unas lineas del metodo GoNextCtrl(). Te dejo las lineas que cambian Cambia esto: [code=fw:3qpwh0g9]<div class="fw" id="{CB}" style="font-family: monospace;"><br />                  elseif ::<span style="color: #000000;">KeyNo</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> < ::<span style="color: #000000;">nLen</span> .or. ::<span style="color: #000000;">lAutoAppend</span><br />                     ::<span style="color: #0000ff;">Select</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />                     ::<span style="color: #000000;">GoDown</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                     ::<span style="color: #0000ff;">Select</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br /><br />                     ::<span style="color: #000000;">GoLeftMost</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                     nNextPos := AScan<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aDisplay</span>, <span style="color: #000000;">&#123;</span> |i| ::<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> i <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span> > <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />                     <span style="color: #00C800;">if</span> nNextPos > <span style="color: #000000;">1</span><br />                        <span style="color: #00C800;">if</span> ::<span style="color: #000000;">IsDisplayPosVisible</span><span style="color: #000000;">&#40;</span> nNextPos, .t. <span style="color: #000000;">&#41;</span><br />                           ::<span style="color: #000000;">nColSel</span>   := nNextPos<br />                           ::<span style="color: #000000;">DrawLine</span><span style="color: #000000;">&#40;</span> .t. <span style="color: #000000;">&#41;</span><br />                        <span style="color: #00C800;">else</span><br />                           <span style="color: #00C800;">for</span> n := <span style="color: #000000;">2</span> <span style="color: #0000ff;">to</span> nNextPos<br />                              ::<span style="color: #000000;">GoRight</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                           <span style="color: #00C800;">next</span><br />                        <span style="color: #00C800;">endif</span><br />                     <span style="color: #00C800;">endif</span><br /> </div>[/code:3qpwh0g9] Por Esto: [code=fw:3qpwh0g9]<div class="fw" id="{CB}" style="font-family: monospace;">                  <span style="color: #00C800;">else</span><br />                     ::<span style="color: #000000;">GoLeftMost</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                     nNextPos := AScan<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aDisplay</span>, <span style="color: #000000;">&#123;</span> |i| ::<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> i <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span> > <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />                     <span style="color: #00C800;">if</span> nNextPos > <span style="color: #000000;">1</span><br />                        <span style="color: #00C800;">if</span> ::<span style="color: #000000;">IsDisplayPosVisible</span><span style="color: #000000;">&#40;</span> nNextPos, .t. <span style="color: #000000;">&#41;</span><br />                           ::<span style="color: #000000;">nColSel</span>   := nNextPos<br />                           ::<span style="color: #000000;">DrawLine</span><span style="color: #000000;">&#40;</span> .t. <span style="color: #000000;">&#41;</span><br />                        <span style="color: #00C800;">else</span><br />                           <span style="color: #00C800;">for</span> n := <span style="color: #000000;">2</span> <span style="color: #0000ff;">to</span> nNextPos<br />                              ::<span style="color: #000000;">GoRight</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                           <span style="color: #00C800;">next</span><br />                        <span style="color: #00C800;">endif</span><br />                     <span style="color: #00C800;">endif</span><br />                     <span style="color: #00C800;">if</span> ::<span style="color: #000000;">lAutoAppend</span> .or. ::<span style="color: #000000;">nDataRows</span> > ::<span style="color: #000000;">nRowSel</span><br />                        <span style="color: #00C800;">if</span> !<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">bPastEof</span> == <span style="color: #00C800;">NIL</span> .and. ::<span style="color: #000000;">KeyNo</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> == ::<span style="color: #000000;">nLen</span> <span style="color: #000000;">&#41;</span><br />                           ::<span style="color: #0000ff;">Select</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />                           ::<span style="color: #000000;">GoDown</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                           ::<span style="color: #0000ff;">Select</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />                        <span style="color: #00C800;">endif</span><br />                     <span style="color: #00C800;">endif</span></div>[/code:3qpwh0g9]
xBrowse.Posicionar en una columna determinada despues add
Perfecto Daniel, muchas graicas. Esta modificación se incluira en lasiguiente versión?, es para no tener que ir modificando cada version el fuente de xbrowse.
xBrowse.Posicionar en una columna determinada despues add
Biel. Si, con seguridad será incluida
xBrowse.ch
Hola a todos. Estoy mirando la sintáxis de xBrowse y no se reconocer la aplicación de unas cláusulas en el preproecesado (lo he dicho bien?). #xcommand @ <nRow>, <nCol> [ COLUMN ] XBROWSE <oBrw> ; [ [ FIELDS ] <Flds,...>] ; [ ALIAS <cAlias> ] ; [ <sizes:FIELDSIZES, SIZES, COLSIZES> <aColSizes,...> ] ; [ <head:HEAD,HEADER,HEADERS> <aHeaders,...> ] ; [ SIZE <nWidth>, <nHeigth> ] ; [ <dlg:OF,DIALOG> <oWnd> ] ; [ SELECT <cField> FOR <uValue1> [ TO <uValue2> ] ] ; [ <change: ON CHANGE, ON CLICK> <uChange> ] ; [ ON [ LEFT ] DBLCLICK <uLDblClick> ] ; [ ON RIGHT CLICK <uRClick> ] ; [ FONT <oFont> ] ; [ CURSOR <oCursor> ] ; [ <color: COLOR, COLORS> <nClrFore> [,<nClrBack>] ] ; [ MESSAGE <cMsg> ] ; [ <update: UPDATE> ] ; [ <pixel: PIXEL> ] ; [ WHEN <uWhen> ] ; [ <design: DESIGN> ] ; [ VALID <uValid> ] ; => ; <oBrw> := XbrowseNew( <oWnd>, <nRow>, <nCol>, <nWidth>, <nHeigth>,; [ \{ <{Flds}> \} ], ; [\{<aHeaders>\}], [\{<aColSizes>\}], ; [<{uChange}>],; [\{|nRow,nCol,nFlags|<uLDblClick>\}],; [\{|nRow,nCol,nFlags|<uRClick>\}],; <oFont>, <oCursor>, <nClrFore>, <nClrBack>, <cMsg>,; <.update.>, <cAlias>, <{uWhen}>,; <.design.>, <{uValid}> ) De que manera se aplican la cláusula PIXEL y "[ SELECT <cField> FOR <uValue1> [ TO <uValue2> ] ]". No veo estos parámetros en la función XbrowseNew(). Saludos Carlos G.
xBrowse.ch
Carlos, Efectivamente esos parámetros faltan en el resultado del preprocesado. Lo estamos revisando, gracias!
xBrowse: Auto save edit
How to make xBrowse auto save any currently active editing in a cell? What I mean is I am currently typing into a cell in xBrowse (FASTEDIT clause used), without pressing Enter I immediately click the Print button. I find that if I do that whatever I recently keyed-in is not saved. It will only be saved if I pressed Enter before clicking the the Print button. Is there some setting/flag to allow save whenever the cell loses focus? TIA
xBrowse: Auto save edit
Try this : oLbx:aCols[2]:lAutoSave := .t.
xBrowse: Auto save edit
It works. Thanks Jack!