Barcode Black with Uniface

Author: dylan.huart@gmail.com (Dylan)

Hello ! I have a little problem with a widget in Uniface, I've a widget which show Barcode with the font Free 3 of 9 but by momment this widget is black but I don’t understand the reason... Ideas ?Wink

4 Comments

  1. Hello Dylan,   It's a shot in the dark with this little information, but widgets might show up black in the application when they are missing in your .ini files.   Dennis.


    Author: Dennis van Duijn (dennis.van.duijn@sogeti.com)
  2. Hello Dennis, Thank you for your answer Unfortunately I don't have other information, apart that, this problem occurs on Windows 7 and not on Windows xp .. how to check the ini file?


    Author: Dylan (dylan.huart@gmail.com)
  3.  I use the Widget Edit box
    Here is the widgets part of the ini file

      [widgets] ; Logical to physical widget mapping EditBox=ueditbox(font=editfont;autoselect=on;dimmedbackcolor=off) CommandButton=ucmdbutton(representation=uniface;tooltip=on;font=buttonfont) DropDownList=udropdownlist(font=listfont;forcefit=on;dimmedbackcolor=off) Combobox=ucombobox(font=listfont;dimmedbackcolor=off) CheckBox=ucheckbox(font=label;fittotext=off) RadioGroup=uradiogroup(font=label) Map=umap(font=label) ListBox=ulistbox(font=listfont;dimmedbackcolor=off) Egrid=egrid(font=editfont;labelfont=editfont) SpinButton=uspinbutton(font=editfont;autoselect=on;dimmedbackcolor=off) Picture=upicture(PreserveAspect=off) Hyperlink=uhyperlink(font=HyperLabel;transparency=on) OleContainer=uOleContainer OcxContainer=uOcxContainer DragSource=udragdrop(source=on;label=on;sourcefeedback=icon) DropTarget=udragdrop(target=on;label=on;targetfeedback=copy,move;targethilite=halftone) Slider=uslider Meter=umeter Tree=utree Tab=utab Progressbar=uprogressbar(orientation=horizontal;smooth=false;range=100) ; colortype = web | system ColorList=ucolorlist(colortype=web;font=listfont;dimmedbackcolor=off) ColorBox=ucolorbox(font=editfont;frame=on;3d=on;dimmedbackcolor=off) OutputBox=uoutputbox(font=monosmall) MonthCalendar=umonthcalendar RichEditBox=urtfeditbox(font=editfont;dimmedbackcolor=off;toolbar=font,textcolor,attribute) ; Logical widgets for development environment NoEditBox=ueditbox(font=editfont;3d=off;dimmedbackcolor=off) MessageBox=ueditbox(font=editfont) UnifaceButton=ucmdbutton(tooltip=on;font=buttonfont;representation=uniface) HeaderButton=ucmdbutton(tooltip=on;font=buttonfont;representation=header) ; Custom widgets for development environment UComposer=ucomposer PaintTableau=upainttableau RichEdit=urichedit(font=monomedium;procbox=on) HotSpot=uhotspot(cursor=on) UniForm=uniform Nav=unav(font=label) Gab=ugab ; Special frames .L=ulabel(transparency=off;labelfont=label) .P=ucmdbutton(tooltip=on;autolabel=off) .C=ucheckbox(v52=on) .I=upicture           


    Author: Dylan (dylan.huart@gmail.com)
  4. Hi Dylan, supposing you have your barcode font named "3 of 9 Barcode" you should first map your font into the [screen] and/or [printer] section of your ini file...something like: myBarcodeBig=3 of 9 Barcode,50,regular myBarcodeMedium=3 of 9 Barcode,36,regular myBarcodeSmall=3 of 9 Barcode,24,regular myBarcodeSmallest=3 of 9 Barcode,16,regular then refer to the suitable name defined in properties of your field picted on the form/report. If you use them a lot you should also consider to model a special set of widgets into your .ini file. Ciao, Gianni


    Author: gianni (gianni.sandigliano@unifacesolutions.com)