TABLE LAF
-
Does anyone know if there's a way to differentiate between Tables in LAF? I want to treat tables differently. I've tried using obj.text property but the tables go blank (but there's no error in the console)
if (obj.text == "Table1")
PS - Table LAF only works in Master at the moment...
HiseSnippet 1034.3ocuVs0bhaCEVlD2YgVlo6z128jmHSRcMNbIL6jVHbIKSgD5Bcm71VgsLVK1RdrEjvrS9us+j5+fVIKC1oExlgNo5Avma57oiNWznPpEJJhFBTxOYU.Bn7MpiWQXtscgXBneGfx2oNo0kC5pMnUOst21Z3nAcAWtJ.FEgrAJJGbkPQk7GBhW+4ubIzCRrPor.f2SwVnAXeLKk6nl+J1yqGzFMA6mQ6JM6aQIsodzEbPcfpAH.ZMGNCcMTnVNUfxW00FyngiYPFJBnb3kT6Uico2Qj5+dbDdpGRPTFLluQR18nd1BDK3BZ6h8rGs9vGA36xnzPwAxPw2qNDai2vOMj7swBzRsHa7PI2SAuxYgmwyGdJYf2gR38Z0wVg3.VpDA19Z09DFJzAxuBxBKotfb+vApsobMHLce3bTuPNwFKJUyv3TspFFG+lhEJVfeQDwzVBC07fNZWn0kLCSP5VgH9Q6JO5TnmbaGPoyaQr6gPdkjl9S7k1lDGAG9VnGhlgi39p2BhECSIkNxNDd2DHOdLBxbO5TMm0RlcpFc5GOVX4mJVPiuvNZk3rzYn6YZWbg1Qw1U9nikhSzZldDhISeh0d5LIg.VR4BWJ7Vr3.9GwdRGxOUmpYnWMUyzcR9Wj9cXlaKu.WXrwXFxWJQZXpkN7b6c3i0J8f7O4uHuHzNNflegCXJHdYOhl+WNiOHyJVe6pQIWSYnaHkNtvmJjuvCEz9mhbb1pLQtaH0yCEtUwhdIgOkgkHK7mh32WKgdKPaTjWT83pV0cW0lsohkrTJihTReBlcS.hrqZYPR8GupNWBp3tmEWSWLolN9lGf4UtuRUllChAb1tp1PFDnTU8rZ5wqkymToRawG2Lb0fUMldR02UWRy+w4ja4LRnkX3Y4Xyc43tpUNW+wqk27VZsEYcLoyvQm7V58WUMCPDp1XMP989cDaGuEURXgGpBPgLr3VPoCZIezgreWd0Nnn4LZPbbyOfRDAQk7ewH28of+2ZtJk3hl2gsYtaX7G9McQ3YtoSo9rWy08ODSFqX1nRCix0qY.RqKjBpetYUypmUNi.SoDy50abVYi5hX9yFzlY.8mixB5e9+YP+um6vm9QsW3AYOdjn3c.IB3UbOZ1iX9BIByVk8cBuHyIetv80pivLK2si2baAuhh0WX7l7pihpccbPVrTvdnZuae4ehA3czELLY1PHKDyy9Tudg+XdFgEhiDBgOghySImn+kj1PPKhLiQD6Xh+huRDVVPqjHr7Zg.enUH8CVxlOh207pXNbLQhedWd0gBZsMs6TUMzM.97ma8AKKQn3G4Xe61XtG1b1dXSk8vlp6gM01CapuG1b9SZi3ktsVvn9xxDNiQci6XqnzkHZUEmQB9aXFv9fA
-
@DanH It should work if you add this line:
obj->setProperty("text", te.getName());
-
This post is deleted! -
@ustk Add it into the source code you mean?
-
obj->setProperty("text", te.getName());
Sadly that didn't work as expected. I used this method with the drawToggle Button LAF but I don't see a similar line in that part of the source
HISE/hi_scripting/scripting/api/ScriptingApiObjects.cpp at 1f682f5130f36341d428b050429a11619f096384 路 christophhart/HISE
The open source framework for sample based instruments - HISE/hi_scripting/scripting/api/ScriptingApiObjects.cpp at 1f682f5130f36341d428b050429a11619f096384 路 christophhart/HISE
GitHub (github.com)
-
-
You could use other properties to differentiate between the tables. For example if they are different sizes, in different positions, or have different colour properties.
-
-
@MikeB I know
I did that and the result was as above
-
@d-healey Yes I thought about colours, I'll give that a whirl