Search

Results 301 to 320 for string formatting.

  1. MacOS Play Alert Sound

    only supports audio data formats linear PCM or IMA4. - It only supports audio file formats CAF, AIF, or WAV. If these limitations on System Sound Services are an issue, check ... AudioServicesDisposeSystemSoundID'; TForm1 procedure TForm1.Button1Click(Sender: TObject); var newSoundID: TSystemSoundID; filePathURL: CFURLRef; filePathCFStringRef: CFStringRef; filePathStr: String; status: Integer -1; begin // Sound file to play filePathStr : '/usr/local/share/fpcsrc/fpc-3.0.4/packages/libndsfpc/examples/audio/maxmod/basic_sound/audio/Ambulance.wav'; filePathCFStringRef : CFStringCreateWithPascalString(kCFAllocatorDefault, filePathStr, CFStringGetSystemEncoding

  2. Networking

    procedure AttendConnection(ASocket: TTCPBlockSocket); var timeout: integer; s: string; method, uri, protocol: string; OutputDataString: string; ResultCode: integer; begin timeout : 120000; WriteLn('Received headers+document from browser:'); //read request line ... over a network. It has an interface that is described in a machine-processable format such as WSDL. Other systems interact with the Web service in a manner prescribed

  3. Object Oriented Programming with Free Pascal and Lazarus

    machines are to be calibrated and operated, - how the results are to be stored, formatted and - reported back to the physician. The actual results are a record that the physician ... Integer read FIntProp write FIntProp; end; pascal TFooClass class private function GetListProp(AIndex: Integer): String; procedure SetListProp(AIndex: Integer; AValue: String); public // this type of property

  4. SynEdit Highlighter

    current SynEdits Lines. This way the highlighter can access the data whenever needed. The Format of the data storage is determined by the highlighter (TSynCustomHighlighter.AttachToLines). Scanning and Returning Highlight attributes ... only match, if they are of the same kind (e.g. if there was a string attribute, brackets outside a string would not match brackets inside a string). Other notes

  5. TAChart documentation/ru

    наконец, получить строку из функции Get . Обратите внимание, что преобразование из IEquationText в String определено, поэтому обычно нет необходимости явно вызывать Get . Legend item text Legend.Format -свойство fit series поддерживает ... LabelBrush и Frame . Сам текст формируется на основе элементов источника данных с помощью свойства Format . Это свойство используется в качестве первого аргумента функции SysUtils.Format (http://www.freepascal.org/docs-html/rtl/sysutils/format.html), второй аргумент которой

  6. TImageList

    vector format (svg, using Inkscape) and to export to the needed size in png format. Finally select the controls which require the non-standard default size and set their ImagesWidth ... Lazarus 3.99 the ImageList component editor was redesigned to better take care of translated strings. The button stack in the center was removed and their functionality was moved into

  7. TTreeView

    OnClick events. Compile and run. pascal procedure TForm1.Button1Click(Sender: TObject); var n: integer; s: string; begin // If there are no nodes, create a root node with a parent ... that this will save only the Text of each Item in a plain text format.\ A file (or stream) created as such, can be loaded using the LoadFromFile (or LoadFromStream

  8. Turbopower Visual PlanIt/ru

    opCross, opDiagCross); TVpOverlayDetail (odResource, odEventDescription, odEventCategory); TVpOverlayDetails set of TVpOverlayDetail; TVpResourceGroup class //... property Caption: String; property Count: Integer; property Items AIndex: Integer : TVpResource; property Pattern: TVpOverlayPattern; property ResourceID: Integer; property ... даже предварительный просмотр печати. Процесс печати определяется с помощью шаблонов, которые здесь называются "print formats"(форматы печати). Они могут быть созданы во время разработки или с помощью XML-файла, загруженного

  9. UCSD Pascal

    error occurred on to be highlighted, along with the precise error message. - Variable length strings, including Procedure procedures to handle them. UCSD Pascal was implemented on - Terak computer system, which ... UCSD p-System Operating System operating system which had its own file format for its disk directories, different from any other microcomputer operating system file format at the time

  10. Bzip2lib

    bzip2 libraries. Unit bzip2lib contains 2 streams: - TBzip2CompressStream for compressing (packing) data to bzip2 format. - TBzip2DecompressStream for decompressing (unpacking) data back to its original form. Unit bzip2lib is collected ... also need compression then bzip2lib is for you. Example code for bzip2lib - Compressing a string to a file. "S" is the string to compress. pascal OutFileStream : TFileStream.Create(CompressedFileName, fmCreate); CompressStream

  11. Carbon interface internals

    object approach - Check Carbon calls result with OSError function - Assume UTF-8 encoded strings between LCL and Carbon widgetset (for future Lazarus Unicode support) What is already working ? - Features ... buffer. This method has the great advantage of converting from the internal format of the screenshot bytes to the very convenient ARGB, 32-bits depth, 8-bits per channel format

  12. Database field type

    stored as-is. Needs to have its Size property set to work. ftCurrency A format to precisely store currency values. ftCursor ftDataSet Presumably meant to store an entire dataset (possibly ... bytes, signed An integer type field with less bytes than ftInteger. ftString Stores string data; needs to have its Size property set to the maximum number of characters possible

  13. FPSpreadsheet: Chart Tutorial

    function RegisterRawLinePattern(AName: String; AElementLength: Single; ADistanceLength: Single; AUnit: TsChartLengthUnit): Integer; function RegisterRawLinePattern(AName: String; AElement1Length: Single; AElement1Count: Integer; AElement2Length: Single; AElement2Count: Integer; ADistanceLength: Single; AUnit: TsChartLengthUnit): Integer ... file containing the chart. Make sure that the spreadsheet reader unit for the file format is listed in the uses clause, e.g. xlsxooxml for an xlsx file. - Drop a TAChart

  14. Glossary/es

    concessions to ease of user interface. FORTRAN suffered from a rather rigid syntactic and formatting structure, though later versions have developed softer edges and make a few concessions ... pantalla para definir la posición del botón Alto, Ancho: Integer; Color: TColor; Rotulo : String; Procedure OnClick; método ejecutado cuándo el ratón es pulsado sobre la imagen del botón

  15. How To Make Lazarus Docs

    placed in a subdirectory called 'thisunit'. (As mentioned, you can also output in other formats, but those are not discussed here) There will be a huge number of HTML files ... files to outfile uses Classes, unix; var listfile, outfile: text; pathname, listfname, outfname, fname: string; execstring, comstring: string; begin Writeln ('Enter path for files to convert'); Readln (pathname); Writeln ('Enter

  16. Lazarus 1.8 fixes branch

    r55875 DateTimeCtls: HiRes icons for TDateTimePicker by Roland Hahn. Switch icons to .res format. - r55884 LCL: Font: Revert revision 55761 as it breaks per monitor High-DPI scaling. - r55881 ... BreakpointPropertyDlg, add new conditions to top of list, remove duplicates and reject empty strings. - r55956 IDE: Add some HiRes icons for Run menu (drawn by Roland Hahn) - r55957 IDE: Update

  17. Lazarus For Delphi Users

    other hand started its Unicode support earlier and uses UTF-8 encoded strings. For more information see LCL Unicode Support . Delphi IDE -> Lazarus IDE Projects The main file ... activate this. Current Lazarus trunk falls back to Delphi-compatible behaviour on reading Delphi-formatted database fields into TDBImage. (optional) TSplitter -> TPairSplitter Please Improve Me There is now a TSplitter

  18. Lazarus IDE Tools/ja

    DoSomething(p: char); // procedure definition implementation procedure DoSomething(p: string); // 手続き本体 begin end; 宣言から本体に移動するとカーソルはキーワード'string'に移動します。これはメソッドの名称変更や引数の変更のさいに便利です。 例: 'DoSomething'を 'MakeIt'に変更した場合: pascal interface procedure MakeIt; // 手続きの定義 implementation procedure DoSomething ... template - 4/6/2004 User:Tom Lisjac VlxAdmin - Initial content posted - 4/10/2004 MattiasG - Small wiki and formatting fixes - 4/11/2004 User:Tom Lisjac VlxAdmin - Added a summary table for IdeTools shortcuts - 12 July

  19. Lazarus IDE Tools/ko

    프로시저 정의 implementation procedure DoSomething(p: string); // 프로시저 본체 begin end; 정의부에서 본체로 점프하여 'string' 키워드 커서가 위치할 것이다.이것은 메쏘드 이름을 변경하거나 파라메터를 변경 혹은 이름를 바꿀 떄 사용할 ... template - 4/6/2004 User:Tom Lisjac VlxAdmin - Initial content posted - 4/10/2004 MattiasG - Small wiki and formatting fixes - 4/11/2004 User:Tom Lisjac VlxAdmin - Added a summary table for IdeTools shortcuts - 12 July

  20. Lazarus IDE Tools/sk

    procedure body begin end; Preskočenie z definície do tela umiestni kurzor na kľúčové slovo 'string'. Túto vlastnosť môžete využiť na premenovanie metódy a/alebo zmenu jej parametrov. Príklad: Premenovali sme 'DoSomething ... template - 4/6/2004 User:Tom Lisjac VlxAdmin - Initial content posted - 4/10/2004 MattiasG - Small wiki and formatting fixes - 4/11/2004 User:Tom Lisjac VlxAdmin - Added a summary table for IdeTools shortcuts - 12 July