Jump to content
uniGUI Discussion Forums

mierlp

uniGUI Subscriber
  • Content Count

    391
  • Joined

  • Last visited

  • Days Won

    14

mierlp last won the day on September 18

mierlp had the most liked content!

Community Reputation

45 Excellent

About mierlp

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://www.eventsoft.nl

Profile Information

  • Gender
    Male
  • Location
    WEERT (Netherlands)

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. mierlp

    printing self-adhesive labels in zebra tlp 2844

    Hi I don't think you can use my example because I save the designed reports in a database. When a label or wristband is printed, the report is looked up in the database and loaded and then printed. Printing is then done in the same way as you normally do when it is loaded from disk. The printer on which this report should be printed is also stored in the database because I often use 9 printers at the same time, each with its own color wristband. // Set options FormMain.frxReport.PrintOptions.ShowDialog: = False; FormMain.frxReport.PrintOptions.Copies: = 0; // Set correct printer FormMain.frxReport.PrintOptions.Printer: = dmMain.Scan.FieldByName ('showConfigIDPrinterName'). AsString; // Prepaire report FormMain.frxReport.PrepareReport; // Print report FormMain.frxReport.print;
  2. mierlp

    printing self-adhesive labels in zebra tlp 2844

    Hi, If you have installed the windows drivers for this printer you can just print like you normally do on a laserprinter with A4 paper. Just create you label design with fastreport (which i use) and you can print. I print on several therminal TSC label printers wristbands, labels or tickets. All based on a design with in fastreport. Regards Peter
  3. mierlp

    show colored bullet in dbgrid [SOLVED]

    Hi I found a solution...what did i do : the field color contains the correct color for the bullet i created a calculated field called 'bullet' in the onCalcFields i added this code : dmStatus.StatusBooking.FieldByName('Bullet').value := '='; i added the field 'bullet' as a extra column to the uniDBgrid change the font.name for this column to 'webdings' <== important because now you got a nice big bullet change the font.size for this column to 20 <== then you got a nice big button uniDBgrid.OnDrawColumnCell i added this code : if ACol=1 then begin Attribs.Font.Color := uniDBgrid.Datasource.Dataset.FieldByName('Color').value; end;
  4. mierlp

    show colored bullet in dbgrid [SOLVED]

    Hi Sherzod Thank you for the examples but I prefer not to work with images. You should also always include this with the installation and you have to make translation for the selected color and which image it it. Is there no other way. I am thinking, for example, of the use of ALT codes. Every new record receives this ALT code, which then has a standard white color. In the dbgrid the font size and color are adjusted to the value in the 'Color' field But no idea if that's possible and i solution Or is there a solution to based on a separate table which contains colored images / color code from the bullets and showing them in a dblookupcombobox...which is not possible i think? Regards Peter
  5. hi I have a table called 'Status' with the following rows: - StatusID (autoinc) - Name (var) - Color (var) The user has to select a color for a certain status. Let say the follow status : - In progress = yellow - Done = green The selected color is saved in the field 'Color' and contains the color colde like '$0000B9FF' Now i would like to show in a DBgrid, see attachment: - the name - a big dot with the corresponding color from the field 'Color' How can i do this ?
  6. mierlp

    My application freeze

    hi Did you use the file-based solutions or with the server.exe ? Make sure you have enought rights to create dbisam.lck files regards Peter
  7. mierlp

    Hosting

    Hi You need a Windows VPS server for you database and uniGui runtime + application. https://www.bluehost.com/hosting/vps https://www.bluehost.com/hosting/vps https://www.strato.nl/server/vps-windows/ There are some difference between the vps hosting companies regarding CPU, Memory, Harddisk and BandWidth/Traffic BlueHost offers 1 TB bandwidth and others are unlimeted Also see this thread http://forums.unigui.com/index.php?/forum/12-hosting/
  8. mierlp

    Structure large project (ERP)

    Hi I use mysql server with devart component. Easy to host and built mirroring. I have a out 30 customers using the application and every customers has own database environment. Every database environment has via own database backup/restore possibility which we manage. Using a SQL script it is easy to update or change tables. Yes hou have to do it several times but thats easy to automate. But restoring database for one customer can be tricky when eveything is in 1 environments. See also https://digitalguardian.com/blog/saas-single-tenant-vs-multi-tenant-whats-difference
  9. mierlp

    Structure large project (ERP)

    Hi Dominique I had the same situation in a vcl desktop situation years ago. I started with different modules and functionality in .dlls. Based on the subscription the user get extra functionality. After a year a build all functionality in one .exe because sometimes functionality of a .DLL or a part was needed in a other part of the software. Not in the beginnen because the design was completed but after a year new functionality was needed. Sure it can be done but you have to design you program in small pièces. Now i put procedures or functions in datamodules so i can call them when needed and linked to the forms or modules where user can have subsriptions for. This is the way i build my unigui programs. I m also interestet how other members deal with this and learn from it.. so i hope more members will share there experiance Regards peter
  10. mierlp

    SMS Code Works In Exe But Not DLL Application

    Hi The example from drBob is very old..try my example where i use also a sms provider bulksms and messagebird You have to use the provided api link from you provider. I didn't try it using it as a .dll http://forums.unigui.com/index.php?/topic/11892-here-an-example-for-sending-sms/
  11. mierlp

    Resize field width

    Yes
  12. mierlp

    Resize field width

    Yes Edit2 and Edit3 have to be next to each other, not below
  13. mierlp

    Workaround for dblookupcombobox

    Hi Dominique I don't know if your Listsource contains only 1 field or 2 fields where the 2nd is unique. You could then show 2 fields instead of 1 field in your dblookupcombobox. You can enter multiple fields with your Listfield, separated by a ; Another alternative could be to create a calculated field and display it in your Listfield
  14. mierlp

    Resize field width

    When you set LayoutConfig.width and a % that works, see attachement But what's not working is the fields next to each other and will be placed below each other. Maybe it's not possibel to put them next to each other ?
  15. mierlp

    Resize field width

    Hi A very simple testcase attached. In the menu click 'Show frame2'. You see 2 uniFieldcontainers, both are resizing when the form is resized The next step is that the Edit fields also resizes in width, so they must be a percentage compared to the uniFieldContainer2 uniEdit2 and 3 must be stay next to each other Regards Peter TestCase.zip
×