Jump to content

dkeene

uniGUI Subscriber
  • Posts

    211
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dkeene

  1. dkeene

    webcam

    so copy these files as they are (both dll from x64 and x86) right into the executable directory?
  2. dkeene

    webcam

    Thanks, Mehmet. I tried the link to the other solution but it has been removed ;(. I tried your solution but I get "Project webcam raised exception EIdOSSLCouldNotLoadSSLLibrary" have you heard of this? I have not seen it.
  3. dkeene

    webcam

    Thank you, Mehmet I will try this now! I hope i can get this working
  4. dkeene

    webcam

    OK, thank you i will wait and I am trying to make this work, based on your post. Are you saying that the attached index.html, adapter-latest.js and main.js files need to reside on each remote computer?
  5. dkeene

    webcam

    Hi, Mehmet Is there any way you could send me a form ? I don't quite understand where to put the javascript attachments... Thank you much
  6. dkeene

    Font Management

    Thank you Abaksoft, I will try. Unfortunately, my application, which also creates a PDF using the unique font on the server, don't show the unique font in the file. I will update the browser and try another browser like firefox.
  7. Ahh thank you, Sherzod. I was confused because Datemode, and I did not see the Kind option. i did make a workaround, but would prefer the Kind method.
  8. dkeene

    Font Management

    i don't know what you mean. i see the web page remotely by typing the address of my server at 8077 as usual. The webpage is built by the server that has the font installed, so why wouldn't the web page appear with the same font correctly? as the two screen snaps show, the local computer has the antiqueolive font but the remote computer shows the same page with a times new roman font.
  9. dkeene

    Font Management

    I am just trying to make a webpage that I create with a specific font (antiqueolive.ttf) for example, appear the same on a remote computer that does not yet have that font installed. Is this possible or is there no way to do this?
  10. dkeene

    Font Management

    this did not help, unfortunately any other thoughts? is there a step-by-step guide somewhere attached: Snap 8 is program run from a remote machine Snap114 is program run on server. AntiqueOlive font appears on server machine but is interpreted as TImesNewRoman on remote.
  11. dkeene

    webcam

    Thanks, Mehemet for sharing and the quick reply! Does this only work on the Mobile unigui environment? Is your device working now? Thanks Doug
  12. dkeene

    webcam

    Hi Being able to take pictures with a webcam seems to be a basic function on modern apps. Is there a way to check if the user's computer has a webcam and to snap an image with it using uniGUI? Currently i am using unigui desktop, but have not used the mobile version. I have seen references to this in the forum, but have not found any success. Thanks doug
  13. dkeene

    Font Management

    Sorry this did not work. Could you or someone please outline the steps necessary to make a font on a remote machine appear on controls as they appear on the server? I added MimeTable.AddMimeType('ttf', 'application/Win64/Debug/files/fonts/', False); This functionality seems to be fundamental and would be useful. I tried files/FONTS/AntiqueOlive.ttf c:/MyApplication/Win64/Debug/files/FONTS/AntiqueOlive.ttf c:\MyApplication\Win64\Debug\files\FONTS\AntiqueOlive.ttf Can someone please show an example of placing a ttf font file (such as Arial.ttf) and adding the string reference to it in the UniServerModule.CustomFiles i added for example in my win64 debug environment -- c:\MyApplication\Win64\Debug\files\FONTS\AntiqueOlive.ttf c:\MyApplication\Win64\Debug\files\FONTS\AntiqueOliveBold.ttf c:\MyApplication\Win64\Debug\files\FONTS\AntiqueOliveItalic.ttf and on procedure TUniServerModule.UniGUIServerModuleCreat(Sender: TObject); begin MimeTable.AddMimeType('ttf', 'application/Win64/files/fonts/', false); MimeTable.AddMimeType('ttf', 'application/Win64/Debug/files/fonts/', false); end; what else must I do for custom fonts to appear on remote computers without the font previously installed? thanks Doug
  14. dkeene

    Font Management

    Can someone please show an example of placing a ttf font file (such as Arial.ttf) and adding the string reference to it in the UniServerModule.CustomFiles i added for example in my win64 debug environment -- c:\MyApplication\Win64\Debug\files\FONTS\AntiqueOlive.ttf c:\MyApplication\Win64\Debug\files\FONTS\AntiqueOliveBold.ttf c:\MyApplication\Win64\Debug\files\FONTS\AntiqueOliveItalic.ttf and on procedure TUniServerModule.UniGUIServerModuleCreat(Sender: TObject); begin MimeTable.AddMimeType('ttf', 'application/Win64/files/fonts/', false); end; what else must I do for custom fonts to appear on remote computers without the font previously installed? thanks Doug
  15. Hello I am using TUniDBDateTimePicker and I wish, at times, to ONLY DISPLAY the Time. There is a Mobile TUniMTime Picker, but not seemingly in the non-mobile version. I am trying to make the TUniDBDateTimePicker.DateFormat='^' so the date won't appear. If I set the TUniDBDateTimePicker.DateFormat='', then it seems to add its own default date. There seem to be only TUniDBDateTimePicker.DateMode of TUniDateMode.dtmDateTime and TUniDateMode.dtmDateOnly. no dtmTimeOnly. If I try to add the TUniMTimePicker control, the program shows error box of AJAX error, MX not defined. Question: Is there a way to show a Time Only using DateTimePicker? or what do I need to do to use TUniMTimePicker? If there is cause to have a TUniMTimePicker, why is there not a TUniTimePicker? Thanks Doug
  16. dkeene

    Font Management

    Thank you Sherzod; does this mean that my font needs to reside on the internet somewhere? what if I wish to use a font that's existing on my server?
  17. dkeene

    Font Management

    Hello, all I have installed a font on my server and would like it to appear on unigui controls. They show up on the development system, but not on remote systems. I have enclosed two screen snaps that show the difference. I tried a forum suggestion: MimeTable.AddMimeType('ttf', 'application/font', False); but the results are in the snaps. Can anyone explain how to get fonts that may not be on the remote user computer to show up on unigui controls?
  18. dkeene

    TUniDBEdit

    there must be a better way to use this mask as it's intended
  19. dkeene

    TUniDBEdit

    Thank you x11, but that did not work. are you saying to use '999*999'? The point of a mask is for visual cue about the data to be entered. so, if field is 3 digits by 3 decimal points, i am trying to show: ###.### or something for user.
  20. dkeene

    Typecasting

    Thank you x11. I am trying to avoid a giant list of "if aNewcomponent is TUniDBEdit else if aNewComponent is TUniDBNumberEdit .. else if aNewComponent is TUniDB... there might be a way of saying TUniDBBaseControl(aNewComponent).Datafield... Thanks Doug
  21. dkeene

    TUniDBEdit

    Any thoughts on this?
  22. because many questions get delayed because of asking which version of unigui one is using, why not just require the edition in the post? it would save a great deal of time and effort
  23. dkeene

    TUniDBEdit

    MySQL database table has field dkcontrols.num3by3 which is a decimal(6,3) which represents values from - 999.999 to +999.999 (6 digists, 3 of which are decimal. I set up a TUniDBNumberEdit control linked to datafield num3by3. I assign TUniDBNumberEdit.InputMask.Mask:='999.999'; I place cursor in TUniDBNumberEdit Box which initially shows: '___.___' and type in '234.234' which it accepts. I move cursor to another box and error shows: '234.23_ is not a valid number'
  24. dkeene

    TUniDBEdit

    Sorry, Yes. InputMask.Mask If I assign the Input.Mask as '999.999' for example, and enter 123.234, the control reports error: '123.23_' is not a valid number. Please see attached.
×
×
  • Create New...