Jump to content
uniGUI Discussion Forums

azago

uniGUI Subscriber
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About azago

  • Rank
    Newbie

Profile Information

  • Gender
    Male

Recent Profile Visitors

113 profile views
  1. azago

    UniTreeMenu font size

    Thanks. It Works. There is only one problem. If I click on an item and then move to another item, I find myself with 2 items selected as shown with _treemenu .x-treelist, ._treemenu .x-treelist-row{ background-color: white; } ._treemenu .x-treelist-row-over, ._treemenu .x-treelist-nav .x-treelist-item-selected > .x-treelist-row{ background-color: #286090 !important; } ._treemenu .x-treelist-item-text, ._treemenu .x-treelist-item-icon, ._treemenu .x-treelist-item-expander { color: #286090; font-size: 14px; } it becomes so
  2. azago

    dbmemo.SelectAll and dbmemo.CopyToClipboard

    I send un example for my request. I need to copy the clipboard into a uniedit field Thanks _Request_Paste.7z
  3. azago

    UniTreeMenu font size

    Attached testcase Thanks _Request_TreeMenu.7z
  4. azago

    UniTreeMenu font size

    I would like to know how to change the color and background of the selected row. For defualt the color of semlected row is white and therefore if I change the background color ._treemenu .x-treelist, ._treemenu .x-treelist-row{ background-color: white; } I can't see the selected row again i tried ._treemenu .x-treelist-row-over, ._treemenu .x-treelist-nav .x-treelist-item-selected > .x-treelist-row{ background-color: red; } but with UNIGUI v.1.90.0.1498 and Delphi Rio it has no effect
  5. azago

    dbmemo.SelectAll and dbmemo.CopyToClipboard

    I need to insert a button in the procedure. Pressing it copies the clipborad into a memo or edit field. I tried to build it starting from the inverse (field copy to clipboard) but I couldn't (see written routine). I wanted to know how to do it through JS.
  6. azago

    dbmemo.SelectAll and dbmemo.CopyToClipboard

    i've used btnCopyToClipboard.ClientEvents.ExtEvents.Values['click']:='function click(sender, e, eOpts) '+ ' { '+ ' var textarea = document.getElementById("'+memSummary.JSName+'_id-inputEl"); '+ ' textarea.select(); '+ ' try { '+ ' var successful = document.execCommand(''copy''); '+ ' if(successful) console.log(''Copied!''); '+ ' else console.log(''Unable to copy!''); '+ ' } catch (err) { '+ ' console.log(''Unsupported Browser!''); '+ ' } '+ ' }'; for copy data to Clipboard and work fine. i tried to write the syntax to Paste data from clipboard bPaste.ClientEvents.ExtEvents.Values['click']:='function click(sender, e, eOpts) '+ ' { '+ ' var textarea = document.getElementById("'+ memSummary.JSName+'_id-inputEl"); '+ ' textarea.focus(); '+ ' try { '+ ' var successful = document.execCommand(''paste''); '+ ' if(successful) console.log(''Pasted!''); '+ ' else console.log(''Unable to paste!''); '+ ' } catch (err) { '+ ' console.log(''Unsupported Browser!''); '+ ' } '+ ' }'; *) but not work. I don't know java. I tried to build the syntax for assonance ... Any idea how to write the correct code ?
  7. I have some problems with using Panel Layouts with ScrollBox. I have attached a demo where by pressing a button in area 1 a list of objects is generated in the uDocList panel. The idea is that the expand / collapse of the various panels the scrollbox moves eventually disappearing if the objects can stay in the video. How do I make the ScrollBox that contains the last panel of the page use the whole screen (fit). It has no layout property ... Thanks for your help. Demo.zip
  8. azago

    Get header Title of DBGrid

    How can i SET the title from specified column at runtime with js? I tried to use MyGrid.Columns[n].Title.Caption := 'New Title'; before to open dataset but non working .... Delphi Rio uniGUI version 1.90.0.1498
  9. azago

    PDF Viewer

    Reinstalled Run-time Ok Thank's
  10. azago

    unigui dbgrid selected row

    ---------------Rileva linguaAfrikaansAlbaneseAmaricoAraboArmenoAzerbaigianoBascoBengaleseBielorussoBirmanoBosniacoBulgaroCatalanoCebuanoCecoCinese (semplificato)Cinese (tradizionale)CoreanoCorsoCroatoCurdoDaneseEbraicoEsperantoEstoneFilippinoFinlandeseFranceseFrisone occidentaleGaelico scozzeseGalizianoGalleseGeorgianoGiapponeseGiavaneseGrecoGujaratiHaitianoHausaHawaianoHindiHmongIgboIndonesianoIngleseIrlandeseIslandeseItalianoKannadaKazakoKhmerKirghisoLaoLatinoLettoneLituanoLussemburgheseMacedoneMalayalamMaleseMalgascioMalteseMaoriMarathiMongoloNepaleseNorvegeseNyanjaOlandesePashtoPersianoPolaccoPortoghesePunjabiRumenoRussoSamoanoSerboShonaSindhiSingaleseSlovaccoSlovenoSomaloSotho del sudSpagnoloSundaneseSvedeseSwahiliTagicoTamilTedescoTeluguThaiTurcoUcrainoUnghereseUrduUzbecoVietnamitaXhosaYiddishYorubaZuluItaliano I need on a single grid (not on all project grids) not to show the background colors of the selected row I Use Delphi Rio Unigui v1.90.0.1498 Theme uni_sencha I have also modified the values of beforeinit in the grid function beforeInit(sender, config) { sender.disableSelection = true; } I tried to execute the commands OnCreate MyGrid.JSInterface.JSCallGlobal('Ext.util.CSS.createStyleSheet', ['#'+ MyGrid.JSName + '_id .x-grid-row-selected .x-grid-cell-inner { background-color:white; color: black;}', MyGrid.JSName + '_css' ]); On Destroy MyGrid.JSInterface.JSCallGlobal('Ext.util.CSS.removeStyleSheet', [ MyGrid.JSName+'_css' ]); but the result is that the first cell is always with a colored background. How can I do ?
  11. azago

    PDF Viewer

    I installed version 1498 on my first server. 1 - I installed run time 2 - I installed additional themes first I'm trying the application in standalone mode when I get to a pdf I get the error "file viewer.hmtl not found" in the development environment the pdf is displayed correctly do I have to insert some particular pointers in production to view the pdf (I use the pdf.js supplied with the runtime)?
  12. azago

    UniDbGrid readonly CheckBoxes very pale

    I'm using Delphi 10.3 Rio Unigui 1.90.0.1495 I put in ServerModule -> CustomCCSS the following code .x-item-disabled .x-grid-checkcolumn { opacity: 1; } If I configure the table as readonly (UniDBGrid ReadOnly) ichecklists are grayed
  13. azago

    Layou Form

    I looked at the examples and saw that the possibility of defining the form with bordered panel using for example 3 areas is important 1 north 2 west 3 center (data area) of the screen. But then if I want another 2 panels in the center area (in area 3 - data area) 4 an absolute top 5 a absolute client I have problems because above all the client never takes up the whole screen (the panel 5 not cover the area) Moreover if in the area 4 I load a frame this does not cover the whole area but performs a top left. But if I have defined a form as a border how can I give an orientation to the additional panels inside the central area ??
  14. azago

    Bootstrap buttons

    add files/bootstrap.min.css in ServerModule->CustomFiles UniButton -> ClientEvents -> UniEvents function beforeInit(sender, config) { config.baseCls="btn"; config.cls="btn-danger"; } to draw a glyphicon UniButton -> IconCls insert (for example) glyphicon glyphicon-duplicate in 1.50.0.1482 work fine
  15. UniserevrModule CustomCSS I have to change more properties of the title of a TUniPanel how can I write Config to use then in the beforeInit as Config.cls? .ColorTitle .x-panel-header-default { background-image: none; background-color: #FFFFFF; - title-default { background-image: none; background-color: #FFFFFF; color : #0080FF; font-size: 18px; } } Thanks
×