This Code is a convert from this Stackoverflow thread.
Private Sub isColorDark(color As Int) As Boolean
Dim darkness As Int = 1 - (0.299 * GetARGB(color)(1) + 0.587 * GetARGB(color)(2) + 0.114 * GetARGB(color)(3))/255
If darkness <= 0.5 Then
Return False 'It's a...
Is there a way to check if the app runs in debugmode?
If IsDebug = true then
'Fill logincredentials so you don't waste time during debugging
txtUser.text = "Marc"
txtPassword.text = "527Gf42d#1"
Is there an easy way to check if only emojis in a string?
I would like to check this to highlight it by changing the text size, like Instagram where you can see the emojis in large size when sending only one emoji or two.