Julio Jiménez | 18 Jun 10:15 2016
Picon

Question about translated strings and utf8

Hi Martin

Since -Fcutf8  translated string (like the ones in mseconsts_es) are not working properly. Special chars are replaced by character '?'. Of course if you don't use -Fcutf8 all is ok. This is because the unit contains pascal strings and aren't converted to utf8.

How do you deal with this? Must I create a new unit containing translated utf8 strings?


Thanks.


--
Julio Jiménez Borreguero
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
Julio Jiménez | 17 Jun 17:54 2016
Picon

Error crosscompiling to win32

Hi Martin.

I get the error:

msesysintf1.pas(533,46) Error: Incompatible types: got "<address of function(const UnicodeString;const UnicodeString):LongInt;Register>" expected "TUnicodeStringManager.<procedure variable type of function(const UnicodeString;const UnicodeString;TCompareOptions):LongInt;Register>"
msesysintf1.pas(534,20) Error: identifier idents no member "CompareTextUnicodeStringProc"
msesysintf1.pas(558) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted


When crosscompiling to win32 with latest fpc 3.0.fixes  (3.0.1)

svn info:
Ruta: .
Working Copy Root Path: /home/jujibo/Programador/FreePascal-3.0.1/fpc
Relative URL: ^/branches/fixes_3_0
Raíz del repositorio: http://svn.freepascal.org/svn/fpc
UUID del repositorio: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revisión: 33943
Tipo de nodo: directorio
Agendado: normal
Autor del último cambio: marco
Revisión del último cambio: 33933
Fecha de último cambio: 2016-06-07 21:34:32 +0200 (mar 07 de jun de 2016)

Thanks




--
Julio Jiménez Borreguero
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
Krzysztof | 5 Jun 21:08 2016
Picon

Is there TStatusBar?

Hi Martin,

As in subject. Can't find anything on components palette. I know that
it can be easily created by Tsimplewiget and set of tlabel and tspacer
widgets but just wondering if already exists.

Regards

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
amateur | 4 Jun 17:07 2016
Picon

form caption gnome 3

Hello.
where hidden form caption? :)

screenshots:

1. http://s019.radikal.ru/i615/1606/48/4524d3da0437.png
2. http://s017.radikal.ru/i407/1606/c2/207a98d4f134.png

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
"Timo Schröder" | 31 May 20:55 2016
Picon

Large PNG in TImage crashing Assembler on Raspberry Pi

Hi everyone!
 
First of all thanks for realizing MSEgui, I just recently needed to transfer a Lazarus Project to a Rasperry Pi, and since Lazarus GUI is not at all usable on the Pi, have discovered the wonderful gem of MSEGUI and MSEIDE. 
 
Unfortunately, I'm running into a problem with a timage on my mainform. On the timage property bitmap, I selected a PNG image of ca. 600 kB. When trying to compile the project on the Pi, it quits during "Assembling main_mfm" with "Error: Can't call the assembler, error -1 switching to external assembling". On Windows, the same project compiles just fine, and choosing a smaller JPG image solves the problem as well. Unfortunately, I need the transparent background of the PNG, so I'm stuck with it. I figure it is probably just some memory or compiler switch issue, but this is where my knowledge ends. Any suggestions?
 
Thank you very much,
Timo
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Martin Schreiber | 31 May 10:47 2016
Picon

Corner-mask demo

Hi,

There is a new demo for widgets with imagelist-frame and corner-mask.
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/buttons/cornermask
Needs MSEide+MSEgui current git master.

Martin
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Martin Schreiber | 30 May 15:30 2016
Picon

Re: Skinning issues

On Monday 30 May 2016 14:28:08 Krzysztof wrote:
> 2016-05-30 10:15 GMT+02:00 Martin Schreiber <mse00000@...>:
> > Git master 089cf862c776efe3593f5dd1191cb2b061ddbe1a has TFrame and
> > TFramecomp.ColorFrameDisabled, ColorFrameMouse and ColorFrameClicked.
>
> Thanks, that was it but there is probably typo in ColorFrameMouse
> setter. It change ColorFrameActive instead of ColorFrameMouse
>
Should be fixed in git master 42e1947685dd4115eebf8dd8aa4046e678119c5c.

> >> 2. Second issue. Is there equivalent for LCL TSpeedButton.Flat
> >> property? So far I thought that it is fso_flat but it only disable 3d
> >> effect. FrameColor is still present. I have few buttons which need to
> >> have flat effect -> frame is visible only when mouse is on button or
> >> click
> >
> > Please set FrameColor to cl_transparent.
>
> Right but how to handle this from skincontroller? I mean
> skincontroller doesn't know if button should be flat or not. Should I
> for "flat" buttons don't use skincontroller but assign another
> framecomp with FrameColor=cl_transparent?
>
Set TWidget.SkinGroup of the flat buttons to 1 and use a second 
TSkinController with SkinGroups = 1 for the settings for the flat buttons, 
set SkinGroups of the first TSkinController to 0, otherwise it matches all 
widgets. In objectinspector SkinGroups is a list of comma separated numbers 
or ranges. Example: "2,5,8..18".

Martin

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Krzysztof | 29 May 22:19 2016
Picon

Skinning issues

Hi Martin,

I finally moved my LCL app to MSEgui and now I can focus on style
because so far it was only quick overview. So I would like to post
here my upcoming issues.

1. My first goal is remove all 3d effects (3d frames, leveli levelo)
from buttons, edits, scrollbars etc and replace it by simple one
colour frame. I want to get flatten UI similar to Windows Metro or
Android Material Design. I know technicaly how to do this using skin
controller and framecomp but have one issue. I set fso_flat,
fso_nomouseanim and fso_noclickanim so now buttons don't have 3d
effect and I can design own frame. Problem is with "mouse hover"
effect. To get this I need to add facelist with frame as timagelist
bitmaps (like in samples/widgets/buttons/hoverframe). Is it necessary?
Is there shorter way for such simple square one colour frame? I mean,
what is missing is tframecom.colorframemouse and
tframecom.colorframeclick next to colorframe and colorframeactive

2. Second issue. Is there equivalent for LCL TSpeedButton.Flat
property? So far I thought that it is fso_flat but it only disable 3d
effect. FrameColor is still present. I have few buttons which need to
have flat effect -> frame is visible only when mouse is on button or
click

3. When you implemented fontawesome, did you saw something for font
frame color? I saw this in TAgg2d in fpGUI. It looks like font awesome
icons can have small frame with different color which get very nice
effect

Regards

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Julio Jiménez | 29 May 10:07 2016
Picon

Error compiling MSE

OS: Linux
Free Pascal Compiler version 3.0.1 [2016/05/26] for x86_64

fpc svn info:
Revisión del último cambio: 33823
Fecha de último cambio: 2016-05-26 19:13:57 +0200 (jue 26 de may de 2016)

MSEide git: 
11b327d7a54a99cb9827852c6a4378f0f67a80a5

cwstring.pas(531,27) Error: Incompatible types: got "<address of function(const WideString;const WideString):Int64;Register>" expected "TUnicodeStringManager.<procedure variable type of function(const WideString;const WideString;TCompareOptions):Int64;Register>"
cwstring.pas(532,3) Error: Identifier not found "CompareTextWideStringProc"
cwstring.pas(540,30) Error: Incompatible types: got "<address of function(const WideString;const WideString):Int64;Register>" expected "TUnicodeStringManager.<procedure variable type of function(const UnicodeString;const UnicodeString;TCompareOptions):Int64;Register>"
cwstring.pas(541,3) Error: Identifier not found "CompareTextUnicodeStringProc"
cwstring.pas(606) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted


--
Julio Jiménez Borreguero
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Krzysztof | 27 May 19:58 2016
Picon

How to make shortcut at runtime?

Hi Martin,

I need assign tmenuitem.shortcut at runtime (DELETE key and CTRL+K).
How to make it? shortcutty is WORD and values in msekeyboard are keyty
enums. Surprisingly casting word(key_Delete) did the trick but what
with CTRL+K? AND or OR with key_control and key_k doesn't work.

BTW: LCL TAction has Shortcut property. Am I right that MSE
TCustomAction doesn't have it and I must set it in tmenuitem? This is
not suggestion, I'm just wondering if I'm doing it right

Regards

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Krzysztof | 24 May 16:35 2016
Picon

OnLayout - placing widget at bottom edge is forcing scrollbar to show

Hi Martin,

I have popup form. On it's OnLayout event I want to place tbooleanedit
at bottom but it shows vertical scrollbar and I need to correct it by
-2. I have printed all sizes, form has levelo = 1 and seems that I can
use any rect except widgetsizerect

procedure TfrmVolume.ArrangeWidgets(const Sender: TObject);
begin
  lblVolume.pos := makepoint(0,0);
  cbMute.pos := makepoint(0, clientheight-cbMute.widgetsizerect.cy-2);

  WriteLn(cbMute.widgetsizerect.cy);
  writeln('paintrect = ',paintrect.cy,'|',paintrect.size.cy);
  writeln('paintclientrect = ',paintclientrect.cy,'|',paintclientrect.size.cy);
  writeln('paintheight = ',paintheight);
  writeln('clippedpaintrect =
',clippedpaintrect.cy,'|',clippedpaintrect.size.cy);
  writeln('innerpaintrect = ',innerpaintrect.cy,'|',innerpaintrect.size.cy);
  writeln('widgetsizerect = ',widgetsizerect.cy,'|',widgetsizerect.size.cy);
  writeln('paintsizerect = ',paintsizerect.cy,'|',paintsizerect.size.cy);
  writeln('clientsizerect = ',clientsizerect.cy,'|',clientsizerect.size.cy);
  writeln('containerclientsizerect =
',containerclientsizerect.cy,'|',containerclientsizerect.size.cy);
  writeln('clientrect = ',clientrect.cy,'|',clientrect.size.cy);
  writeln('clientsize = ',clientsize.cy,'|',clientsize.cy);
  writeln('clientheight = ',clientheight,'|',clientheight);
  writeln('clientwidgetrect =
',clientwidgetrect.cy,'|',clientwidgetrect.size.cy);
  writeln('innerwidgetrect = ',innerwidgetrect.cy,'|',innerwidgetrect.size.cy);
  writeln('innerclientrect = ',innerclientrect.cy,'|',innerclientrect.size.cy);
  writeln('innerclientsize = ',innerclientsize.cy,'|',innerclientsize.cy);
end;

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j

Gmane